Hi,
I have an Ultrtree control I want to show in outlook express view style. I added few columns, one of which is a checked/unchecked column for selecting rows in the tree.
I managed to get the column to show a checkbox ( AllowCellEdit = AllowCellEdit.Full, DataType = typeof(bool)) but I can't find a way to get an event of the checked state change. how can I achieve that?
what I need to do is to check/uncheck all the node's children, so value change event is not good as it is recursively called from the children.
I tried using before/after edit mode but is not called all the time...(I think it depends on the node selected or not...)
is there a way I can add a checkbox control to a cell in another way than the inherent way (described above)?
is there a way to catch events from the displayed checkbox?
thanks,
Lior
Hello Yossi,
Please find bellow answers to your questions:
I’ve implemented this in the attached sample project and CellValueChanged does not fire for child nodes in my sample. This is expected behavior as this event fires only when the value is changed during an edit mode session and do not fire when it is changed through code.
Please check my sample and let me know if you have any additional questions.