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
80
Set Column Width in a ultrawintree
posted

Hi all, i have a bound tree to a dataset, and i need to set a column size, how can i do this !?

i´m using the latest version of net advantage ( 7,3)

 

thks

JSB

 

Parents
  • 5118
    posted

    Hello JSB,

    I've noticed you need to get to the LayoutInfo of an UltraTreeNodeColumn and set the PreferredLabelSize (not the PreferredCellSize...) similar to the following:

    this.ultraTree1.ColumnSettings.ColumnSets[0].Columns[1].LayoutInfo.PreferredLabelSize = new Size(300, 0);

    or

    Me.ultraTree1.ColumnSettings.ColumnSets(0).Columns(1).LayoutInfo.PreferredLabelSize = New Size(300, 0)

Reply Children