find the matching rowindex

hi all.
my ggc is bounded to a dataview.
after i use DataView.Find(..) . i get the index of my desiered datarow in the dataview.
how can i know the matching rowindex in the ggc?

1 Reply

AD Administrator Syncfusion Team February 14, 2007 06:36 PM UTC

Hi Shachar,

Here is a code snippet that shows you how to access a particular record from a grid given the underyling datasource rowindex of it..

// Using the findIndex to access a particular record from a table.
Record record=this.gridGroupingControl1.Table.Records[ findIndex];

An also you can get the rowindex of the grid if the record is given.

int position = gridGroupingControl1.Table.DisplayElements.IndexOf(record);

Best regards,
Haneef

Loader.
Up arrow icon