Hi
I am getting some odd behaviour from WinTree 9.2. The size of the control is too small to make all nodes visible initially. If I set the sorttype of a column to ascending a subset of the rows is visible but the vertical scroll bar is at the top suggesting all data is visible. As soon as I scroll down the 'invisible' nodes reappear.
If I don't set sorttype the problem does not occur.
I don't know if this is related but the tree is bound to a self-referencing table. Sample code below.
Do I need to reposition after the sorttype is set somehow?
Thanks
Craig
ds.Tables.Add(GetMyDataMethodCall) ds.Relations.Add("MyDataTable", ds.Tables(0).Columns("Id"), ds.Tables(0).Columns("PId"), False) UltraTree1.Override.ShowExpansionIndicator = ShowExpansionIndicator.CheckOnDisplay With UltraTree1 .SetDataBinding(ds, "MyDataTable") .ViewStyle = Infragistics.Win.UltraWinTree.ViewStyle.OutlookExpress .ColumnSettings.ColumnSets(0).Columns("Id").Visible = False .ColumnSettings.ColumnSets(0).Columns("PId").Visible = False .ColumnSettings.ColumnSets(0).Columns("Level_No").Visible = False .ColumnSettings.ColumnSets(0).Columns("Code").SortType = Infragistics.Win.UltraWinTree.SortType.Ascending .ColumnSettings.ColumnSets(0).Columns("Account_Code").HeaderAppearance.TextHAlign = HAlign.Left .ColumnSettings.ColumnSets(0).Columns("Description").HeaderAppearance.TextHAlign = HAlign.Left .ColumnSettings.AutoFitColumns = AutoFitColumns.ResizeAllColumns .AllowKeyboardSearch = True End With
Thanks Brian,
I suspected it might have been fixed from similar posts and answers.
We have 10.3. Was it fixed in that release?
That sounds like a bug that was fixed a while back, although I can't say whether it was fixed in 9.2 since that version has not been supported for about a year now.