DropDownUserCellRenderer and current Record access

From the DropDownUserCell sample... how do I access to the current Record.

The sample uses something like...
this.Grid.Model[rowIndex, colIndex].Text;

How can I get access to the current record to that I can set/get some other values of the Record.

I am using a ggc!

1 Reply

AD Administrator Syncfusion Team February 2, 2007 04:02 PM UTC

Hi James,

Here is a code snippet that shows you "how to access the current record from Renderer(DropDownUserCellRenderer).

GridTableControl tc = this.Grid as GridTableControl;
GridTable table = tc.Table as GridTable;
if( table != null )
{
Console.WriteLine( table.CurrentRecord );
//And the set the value using CurrentRecord.SetValue ("ColName",value);
//And the get the value using CurrentRecord.GetValue("ColName");
}

Best Regards,
Haneef

Loader.
Up arrow icon