Reg: GridGroupingControl-Old Value from combo box

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Up arrow icon