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
1401
How to set the particular Columns visible in Standard ViewStyle?
posted

Hi,

I am facing issue with the UltraWinTree Control.

I am using Binding List concept to load the UltraWinTree.

I have two columns in the UltraWinTree (for example ‘Column A’, ‘Column ‘B’) and order of the column is the same Column A- Column B.

If I set ViewStyle property to Standard, it is showing first column only i.e. ‘Column A’. But I want  ‘Column B’ to be visible instead of ‘Column A’ irrespective of order of Columns in the UltraWinTree.

How can I achieve this?

Thanks in advance.

Kumar

 

 

 

 

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    Handle the ColumnSetGenerated event, and set the e.ColumnSet.NodeTextColumn property to reference e.ColumnSet.Columns["B"]. By default, it will use the column at the first ordinal position in the collection, but you can override that by setting NodeTextColumn explicitly.

Children
No Data