The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
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,
DS
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);
this.gridDataBoundGrid1.CurrentCell.MoveTo(rowIndex, 1);