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
270
How to get rid of Column headers
posted

Hi guys!

I've got the following problem:

I have an ultra-tree bound to some hierarchiacal complex collection of objects.

The only thing that annoys me - I have a column headers everywhere. But I don't need these headers with the column-names. Dunno how to fix it. Help me please

 

Thanks in advance.

 

  • 69832
    Verified Answer
    Offline posted

    If you are assigning an UltraTreeColumnSet to the Override.ColumnSet property of each individual node, assign it to the nod.Nodes.Override.ColumnSet property instead.

    If that is not the case, you can switch off column headers in general by setting the UltraTreeColumnSet's LabelPosition property to 'None':

    private void ultraTree1_ColumnSetGenerated(object sender, ColumnSetGeneratedEventArgs e)
    {
        e.ColumnSet.LabelPosition = NodeLayoutLabelPosition.None;
    }