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
595
Checkbox nodes for Grid viewstyle tree
posted

So ViewStyle of my Tree is set to Grid but I am overriding first few levels to make them appear as standard nodes (not show the grid columns).

tree.NodeLevelOverrides[0].ShowColumns = Infragistics.Win.DefaultableBoolean.False;

How can I make the checkbox appear next to each of these overriden nodes (while not removing the override)?

The following line does not do the trick:

tree.NodeLevelOverrides[0].NodeStyle = NodeStyle.CheckBox;

I want the node to look like a regular tree node with a checkbox next to it.Thanks.

Parents
  • 469350
    Offline posted

    Hi,

    I would have thought this would work, but I tried it out and I am getting the same results - it does not show the CheckBox.

    I'm not sure that is. This might be a bug. I will look into it and get back to you.

    You could, of course, work around this by using columns on the first band. You would modify the ColumnSet for the first band so that all of the columns are hidden or removed except the one you want to show the text. Then you could add an unbound boolean column into the ColumnSet to show the checkbox.

Reply Children