The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
1.Can you plese tell me which event gets fired when the cell value of any cell in GGC is editted by user. 2.If I add custom cell type like customized combobox and add it to GGC cell, when user selects certain item from this combobox which event of GGC may notify this? 3.Preferably I am looking to change the cellvalue of some other cell depending upon the selection/data entry made by user in a particular cell of GGC.Kindly suggest the event which will help me do this.
RCRajadurai C Syncfusion Team December 1, 2008 01:47 PM UTC
Hi Keshav,
Thanks for your interest in Syncfusion products.
1)The CurrentCellStartEditing event get fired when the user starts editing in cell.
2)On selecting an item in dropdownpart of custom combobox celltype the SelectedValueChanged event can be triggerred through the following code. GridComboBoxCellRenderer cr; void TableControl_CurrentCellShowingDropDown(object sender, GridCurrentCellShowingDropDownEventArgs e) { cr = this.gridGroupingControl1.TableControl.CurrentCell.Renderer as GridComboBoxCellRenderer; cr.ListBoxPart.SelectedValueChanged += new EventHandler(ListBoxPart_SelectedValueChanged); }
3)To change the cell value of other cell based on the cell value changed in one cell, CurrentCellChanged event can be handled. void TableControl_CurrentCellChanged(object sender, EventArgs e) { GridCurrentCell cc = this.gridGroupingControl1.TableControl.CurrentCell; if (cc.ColIndex == 2 && cc.Renderer.ControlText .Contains ("o")) { cc.ConfirmChanges(); this.gridGroupingControl1.TableModel[cc.RowIndex, cc.ColIndex + 1].CellValue = "Hai"; } }
Regards, Rajadurai
ADAdministrator Syncfusion Team May 14, 2009 03:15 AM UTC
And, I answered my final question, now that I know what to ask. I was looking for CurrentCell changed, and I needed to use