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.
Syncfusion Feedback

Reg: GridGroupingControl-Old Value from combo box

Thread ID:

Created:

Updated:

Platform:

Replies:

45448 Jun 21,2006 09:08 AM Jun 21,2006 12:14 PM Windows Forms 1
loading
Tags: GridControl
Anna Srinivasan
Asked On June 21, 2006 09:08 AM

Hi, I have combobox on GridGrouping conrol on my application. When user changes combo value, how do I get old value from the cell? Regards, Anna

Administrator [Syncfusion]
Replied On June 21, 2006 12:14 PM

Hi Anna, To get the old value, you should use model(rowIndex, ColIndex).CellValue. To get the old display value, you should use model(rowIndex, ColIndex).FormattedText . Console.WriteLine(" Old Display member Value " +this.gridGroupingControl1.TableControl.Model[cc.RowIndex,cc.ColIndex].FormattedText ); Console.WriteLine( " Old Value member Value " + this.gridGroupingControl1.TableControl.Model[cc.RowIndex,cc.ColIndex].CellValue); To get the current cell new value, you should use Renderer.ControlValue. To get the current cell new display value, you should use Renderer.ControlText Console.WriteLine( " New Display member Value " + cc.Renderer.ControlText ); Console.WriteLine( " New Value member Value " + cc.Renderer.ControlValue ); Please refer to the forum thread for more details. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=34534 Let me know if this helps. 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

;