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

how to set the CurrentElement in ggc

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?


1 Reply

AD Administrator Syncfusion Team February 19, 2007 03:48 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon