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.
Up arrow icon