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
345
Migration issue v 9.2 to v 11.1 - Ultra tree
posted

After migrating from Ultra Tree v9.2 to 11.1, we are facing the following challenge

Code snippet

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        With UltraTree1
            .ViewStyle = ViewStyle.OutlookExpress
           .ColumnSettings.RootColumnSet.Columns.Add("C2")
           .ColumnSettings.RootColumnSet.Columns.Add("C3")
           .ColumnSettings.RootColumnSet.Columns.Add("C4")

          
Dim csFolder As UltraTreeColumnSet = .ColumnSettings.ColumnSets.Add("Folder")
           csFolder.Columns.Add("Description")
           csFolder.Columns("Description").CanShowExpansionIndicator = DefaultableBoolean.False

           csFolder.Columns("Description").LayoutInfo.WeightX = 100
           csFolder.Columns("Description").LayoutInfo.OriginX = 0
           csFolder.Columns("Description").LayoutInfo.SpanX = 3

             .Nodes.Add("A", "This is a text")
             .Nodes.Override.ColumnSet = csFolder
 
            .Nodes("A").SetCellValue(csFolder.Columns("Description"), "Liju Sankar")
        End With
    End Sub