I am using a bound data grid (v 1.6).
I am filling an arraylist with objects and setting the list as the datasource for the grid.
Given an instance of one of those objects, I need to seek to that row in the grid (it''s simple ''find'' functionality. I''ve been playing around with ListManagerPositionToRowIndex and it''s counterpart RowIndexToListManagerPosition, however have not had any success.
Thanks in advance,
ADAdministrator Syncfusion Team April 30, 2004 10:30 AM UTC
Have you tried code like this? It seems to work for me in a little sample.
int i = StatesArrayList.IndexOf(state);
int rowIndex = this.gridDataBoundGrid1.Binder.PositionToRowIndex(i);