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.

DropDownUserCellRenderer and current Record access

Thread ID:





55636 Feb 1,2007 04:56 PM Feb 2,2007 11:02 AM Windows Forms 1
Tags: GridControl
James Blibo
Asked On February 1, 2007 04:56 PM

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!

Administrator [Syncfusion]
Replied On February 2, 2007 11:02 AM

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,


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.