Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
UltraTree & Button control ?
posted

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

  • 469350
    Offline posted

    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.