Home Forums WinForms controls Xceed Grid for WinForms Cell value change event (on dataset change) Reply To: Cell value change event (on dataset change)

User (Old forums)
Member
Post count: 23064

The CellRow class has an event <b>CellValueChanged</b> that is called when the underlying data is changed. The disadvantage is: you don’t know which cell has changed, only on which row. Use it like this:<pre>grid.DataRowTemplate.CellValueChanged += new EventHandler(gridCellValueChanged);
private void gridCellValueChanged(object sender, EventArgs e) {
Xceed.Grid.DataRow row = sender as Xceed.Grid.DataRow;
}</pre>

Imported from legacy forums. Posted by Tommy (had 3230 views)