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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DropDownUserCellRenderer and current Record access

Thread ID:

Created:

Updated:

Platform:

Replies:

55636 Feb 1,2007 09:56 PM UTC Feb 2,2007 04:02 PM UTC WinForms 1
loading
Tags: GridControl
James Blibo
Asked On February 1, 2007 09:56 PM UTC

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 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

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.

Warning Icon 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.Close Icon

;