Hi everyone,
I have a hierarchical grid realized through DataRelations. Every Row has a checkbox to check/uncheck it. Is it possible to uncheck one row and automatically uncheck all underlying rows who are related to this?
I'm not sure if this is possible and if, i wasn't able to figure out how to do it. Can anyone help me with this?
Thanks,
Renelope
Use the CellChange event. Use the Text property to see what is the value. The Value property is not changed yet. (You can use the AfterCellUpdate event and the Value property but it will fire after the cell lose focus)
In the event handler:
foreach (UltraGridRow row in e.Cell.Row.ChildBands[0].Rows)
{
row.Cells[columnKey].Value = yourValue;
}
Hi, thank you for your answer.
I had to enhance it a little bit to match my needs but it was still the key hint.