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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

find the matching rowindex

Thread ID:

Created:

Updated:

Platform:

Replies:

56386 Feb 14,2007 11:59 AM UTC Feb 14,2007 06:36 PM UTC Windows Forms 1
loading
Tags: GridControl
Shachar Shimshon
Asked On February 14, 2007 11:59 AM UTC

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?

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;