Hello,
I would like to layout a grid with several bands like the one below; the key thing is that the columns of all levels are aligned and that also the row expand indicators are shown. I have tried to set the Band.Indent=0 but then row expand indicators are not shown.
Thanks
Hi,
If you installed the samples with NetAdvantage then the best thing for you to do is check out the recursive data binding sample. It will be in a folder something like this:
\20XX.X\Samples\WinTree\CS\DataBinding (Recursive) CS
I'm not sure in exactly what version editing was added to the tree, but it was a long time ago and I'm pretty sure it was only a single release after we added multi-column support. to enabled editing the sample, there are two things you have to do.
In the Form_Load, add this code:
this.ultraTree1.Override.CellClickAction = CellClickAction.EditCell;
And in the ultraTree1_ColumnSetGenerated event, add this:
e.ColumnSet.AllowCellEdit = AllowCellEdit.Full;
What version of the UltraTree supports editing? Also is there any guide/example of how should the tree be configured to achieve that layout?
Yes, WinTree supports editing in the latest version (or any recent version).
It doesn't have filtering, summaries, printing, or exporting like the WinGrid, though. So if you need those, you should stick with the grid.
Thanks Mike,
If I would use a tree it is possible to make some cells editable?