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

Parents
No Data
Reply
  • 20872
    Offline posted

    Hello Liju,

    I have tried the following code and in both versions worked the same for me, as it shown in the Ultra Tree v 11.1 screenshot which is expected behavior since the column is actually shorter than the available text in the node.

    Please let me know what Infragistics 2009 vol2  Version exactly you have used in your previous application in order to be able to verify the same behavior at my end. 

    If you have any other questions please feel free to let me know.

     

Children