I am trying to link 2 datagrids so that if you change row in one datagrid it automatically selects the corresponding row in the other one.
Each datagrid contains 2 seperate views of the same records so the number of rows is always the same and are in the same order.
The code i am currently using on the onclick datagrid event for table 1 is:-
Table2.Row = Table1.Row
Table 2
Table1.Row = Table2.Row
This works apart from when you are at a different vertical scroll position in each grid. In this case, it doesnt select the corresponding record.
Any ideas?
Thanks,
Rob
Each datagrid contains 2 seperate views of the same records so the number of rows is always the same and are in the same order.
The code i am currently using on the onclick datagrid event for table 1 is:-
Table2.Row = Table1.Row
Table 2
Table1.Row = Table2.Row
This works apart from when you are at a different vertical scroll position in each grid. In this case, it doesnt select the corresponding record.
Any ideas?
Thanks,
Rob