To delete a row in a datagrid
Posted: Wed Sep 01, 2010 8:02 am
I copied and pasted the example from the forum and put it on a button script but it doesn't delete the row. It's just kind of hilite the text on the row. What am I missing here? Please help.
on mouseUp
local tLine, tCutRow
put the dgindex of group "DataGrid 1" into tLine
put "deleteindex " & tLine into tCutRow
send tCutRow to group "DataGrid 1"
end mouseUp
on mouseUp
local tLine, tCutRow
put the dgindex of group "DataGrid 1" into tLine
put "deleteindex " & tLine into tCutRow
send tCutRow to group "DataGrid 1"
end mouseUp