I am using a hierarchical dataset as datasource for my wintree. Because it consists of multiple layers I need the column headers displayed. However I also want the checkbox infront of the rows. Is there a way I can display the checkbox in the grid viewstyle ?
I found that option as well, but i find it kind of sloppy if users can edit the entire grid. Thus I would like a way to set it to the column only.
lunaios said: Just out of curiosity how would you go about doing that with the designer ?The column doesn't have the override property available as far as I can see when you edit the column (Designer mode)
Just out of curiosity how would you go about doing that with the designer ?The column doesn't have the override property available as far as I can see when you edit the column (Designer mode)
Ok I just played around with the designer and found a much easier way to do this, even in my situation. Right click on your ultratree and go to "Custom Property Page" and click on the UltraTree at the highest level. The UltraTree has an Override and within this is CellClickAction which can be set for the whole tree. It seems to work the same as setting it for the individual node as I showed above but I think this is cleaner.
YES! The answer is just as simple as I suspected.
On your node do:
UltraTreeNode utn = new UltraTreeNode();utn.Override.CellClickAction = CellClickAction.EditCell;
It now toggles. :)
Brian Fallon"] The CellValueChanged event fires when the value of a cell changes.
The CellValueChanged event fires when the value of a cell changes.
This won't be triggered if the value doesn't change. When you click on the box the value dosen't change, it stays the same. It does not toggle. That is why I was thinking I had to catch the click event and manually toggle the check box but I don't think this is correct behavior. Something is wrong here. Its like I've set it to be editable yet it can't edit...