R
Rakesh
Using the BindingContext we will be able to find the
actual position of the row selected in a DataView
(regardless of the sort used).
What I want to do is exactly the reverse. That is, I know
the actual position of the row in the BindingContext, and
from that I want to know the position of the same in a
dataview/datagrid. Is this possible?
The reason why I want to do this is becuase of the
following scenario:
I have a dataview, with AllowNew false. I have a datagrid
bound to this dataview. I insert new rows
programmatically. Once a new row is inserted I want the
datagrid to select that new row, regardless of the sort
used. But I know only the actual position of the row in
the BindingContext, and not the position in the datagrid,
(which is required for selecting).
Thanks in advance,
Rakesh
actual position of the row selected in a DataView
(regardless of the sort used).
What I want to do is exactly the reverse. That is, I know
the actual position of the row in the BindingContext, and
from that I want to know the position of the same in a
dataview/datagrid. Is this possible?
The reason why I want to do this is becuase of the
following scenario:
I have a dataview, with AllowNew false. I have a datagrid
bound to this dataview. I insert new rows
programmatically. Once a new row is inserted I want the
datagrid to select that new row, regardless of the sort
used. But I know only the actual position of the row in
the BindingContext, and not the position in the datagrid,
(which is required for selecting).
Thanks in advance,
Rakesh