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.

how to set the CurrentElement in ggc

Thread ID:

Created:

Updated:

Platform:

Replies:

56647 Feb 18,2007 02:10 AM Feb 19,2007 10:48 AM Windows Forms 1
loading
Tags: GridControl
shachar
Asked On February 18, 2007 02:10 AM

hi all.
i wrote:
record r=ggc.table.unsortedrecords[x];
r.setselected(true);
how can i set the matching CurrentElement to this record i'v selected?


Administrator [Syncfusion]
Replied On February 19, 2007 10:48 AM

Hi Shachar,

You can use the SetCurrent method to set the current record in a grid. Try the below code.

Record r=ggc.Table.UnsortedRecords[x];
r.SetSelected(true);
rec.SetCurrent("ColumnName");

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.

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.

;