Code: Select all
put the dgHilitedIndex of group "DataGridCutList" into cutlistLine
--Update datagrid
set the dgHilitedLines of group "DataGridCutList" to cutlistLine
Code: Select all
put the dgHilitedIndex of group "DataGridCutList" into cutlistLine
answer cutlistLine -- the answer is not 1 for this example lets say 2
--Update datagrid
set the dgHilitedLines of group "DataGridCutList" to cutlistLine
--It will hilite whatever line (visually) that the number is, in this case line 2