Is it possible to have Button column on a bound UltraTree?
If so how can this be done?
(I need it mainly for the parent row, but would be useful to know how to put it on children rows as well.)
thanks
Hi,
Do you want the cell to have the normal text area and a button? Or do you want the entire cell to be a button with nothing else?
For the former, you can use an editor.
For the latter, I don't think the tree has this functionality like the grid does. You might want to consider using WinGrid instead. If that's not an option, you could achieve this in a couple of different ways. One way would be to use a CreationFilter to fill the cell with a ButtonUIElement. The other way would be to use the UltraControlContainerEditor to put an actual button control in the cells.
UltraGrid... when I search for help/info on UltraTree I find most examples and info relating to UltraGrid. So perhaps I should be using UltraGrid. What are the differences? What I'm trying to do is display paren/child data, such as Invoices, where one can click on the parent and the children open up.