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 ?
No, you can't get a checkbox to appear "in front of the rows". You can, however, have a column whose DataType is bool (or CheckState), which will cause a CheckEditor to be used by that column.
Thank you for helping me, how would I add a checkbox column to the wintree ? I cannot seem to find a checkboxcolumn type for the treeview.
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.
Im new to Infragistics controls. Im having problem with the Wintree control. I have a tree that is databound and I wanna be able to edit some of the data. I have changed the CellClickAction so I can edit the cell. But then i leave the cell I get a mesage that its read only. I have tried to change AllowCellEdit to full, but still the same problem. Does any one know how to fix it?
It is possible that the DataColumn with which the cell you are trying to edit is associated is ReadOnly.
that solved it,
thanx
I am still having problems with the default value. I cannot seem to set a default value for the checkbox column. I keep getting the standard blue box. And I hate to have to loop through it to set the value to false.