J
Jeroen
Hi,
In a DataGrid using a DataView it's possible to change the column sortorder
simply by clicking the column in the row header.
Just after that, I would like to select the 1st entire row in the DataGrid
using DataGrid.Select(0).
I tried catching MouseDown, MouseUp, DataView.ListChanged events. I know
then that the sortorder has changed. Selecting the 1st row there does not
seem to have a possitive result. It seems that after my code, the
DataGrid/DataView does something I cannot get at.
I also derived from DataGrid and used the protected event RowHeaderClick.
When debugging, it never comes there! Strange.
Has anyone any ideas/tips?
Thanks in advance.
Best regards,
Jeroen
In a DataGrid using a DataView it's possible to change the column sortorder
simply by clicking the column in the row header.
Just after that, I would like to select the 1st entire row in the DataGrid
using DataGrid.Select(0).
I tried catching MouseDown, MouseUp, DataView.ListChanged events. I know
then that the sortorder has changed. Selecting the 1st row there does not
seem to have a possitive result. It seems that after my code, the
DataGrid/DataView does something I cannot get at.
I also derived from DataGrid and used the protected event RowHeaderClick.
When debugging, it never comes there! Strange.
Has anyone any ideas/tips?
Thanks in advance.
Best regards,
Jeroen