We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon