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
600
how to check all rows?
posted

I have a UltraTree with a ViewStyle of Grid. There are several column. now i hope add a checkbox to the

UltraTree's ColumnSet header. how to do it? tks

 

Parents
  • 469350
    Offline posted

    Hi,

    The WinTree currently doesn't have any support for header checkboxes. You could probably achieve this using a CreationFilter, but it would be a bit tricky. There's an old sample demonstrating how to do this with the WinGrid control. Here's a link:

    HOWTO:How do I add a CheckBox to a WinGrid column header?

    Note that this article is old and it was written before the WinGrid was updated to support checkboxes in the column headers natively.

    Obviously, this code would have to be modified to work with the tree control, so that will be the difficult part.

    Of course, if you use WinGrid instead of WinTree, it might make things easier for you.

     

Reply Children