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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Reg: GridGroupingControl-Old Value from combo box

Thread ID:





45448 Jun 21,2006 01:08 PM UTC Jun 21,2006 04:14 PM UTC WinForms 1
Tags: GridControl
Anna Srinivasan
Asked On June 21, 2006 01:08 PM UTC

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 04:14 PM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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