Home Forums WinForms controls Xceed Grid for WinForms GridComboBox change to impact other rows? Reply To: GridComboBox change to impact other rows?

User (Old forums)
Member
Post count: 23064

Instead of catching the SelectedIndexChanged event on the GridComboBox, you should catch the ValueChanged event on the cells of that column. Like this:<pre>grid.DataRowTemplate.Cells[“myColumn”].ValueChanged += new EventHandler(myCellValueChanged);
private void myCellValueChanged(object sender, EventArgs e) {
Cell cell = sender as Cell;
CellRow row = cell.ParentRow;
row.Cells[3].Value = …;
}</pre>

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