The script, on the RowBehavior of DG3, looks like this:
Code: Select all
on MouseUp
--get the data of the hilited line of DG3
put the dgDataOfLine[the dgHilitedLines of me] of me into theDataA
put theDataA["Dossier"] into tDossier
--find the line of what you are looking for
put the dgData of grp "DG1" into tArrayData
repeat for each line tNum in the keys of tArrayData
if tArrayData[tNum]["DossierName"] = tDossier then
exit repeat
end if
end repeat
--now you have a number: tNum
set the dgHilitedIndex of grp "DG1" to tNum
focus on grp "DG1"
pass MouseUp
end MouseUp
The auto-hilite row of DG1 is true.
I understand that both DG can not be hilited in the same time but changing the focus (focus on "DG1") does not solve the problem.
Thanks for any help
Trevix