Im using Infragistics 16.2 and have a problem with the UltraTree that i simply dont understand.
The tree doesn't generate all nodes if the DataSource is some recoursive list that has more levels in items that follow the first item.
(First item has e.g 2 levels, following item has >2 levels)
Am i missing something?
Please see my sample for further information:
https://imgur.com/a/UWDtw
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim list1 As New List(Of MyItem) Dim list2 As New List(Of MyItem)
list1.Add(New MyItem With {.Name = "1"}) list1.Add(New MyItem With {.Name = "2"}) list1(0).Childs.Add(New MyItem With {.Name = "1.1"}) list1(0).Childs.Add(New MyItem With {.Name = "1.2"}) list1(0).Childs(0).Childs.Add(New MyItem With {.Name = "1.1.1"}) list1(0).Childs(0).Childs.Add(New MyItem With {.Name = "1.1.2"})
UltraTree1.DataSource = list1
list2.Add(New MyItem With {.Name = "1"}) list2.Add(New MyItem With {.Name = "2"}) list2(1).Childs.Add(New MyItem With {.Name = "2.1"}) list2(1).Childs.Add(New MyItem With {.Name = "2.2"}) list2(1).Childs(0).Childs.Add(New MyItem With {.Name = "2.1.1"}) list2(1).Childs(0).Childs.Add(New MyItem With {.Name = "2.1.2"})
UltraTree2.DataSource = list2
End Sub
End Class
Public Class MyItem Public Property Name As String Public Property Childs As New List(Of MyItem)End Class
Hello N,
This issue was fixed in versions 17.1 and 17.2 as well as in any future version of Infragistics for Windows Forms. You can download now the latest service release for these version.Thank you for using Infragistics components.
The Development ID for this issue is now in Awaiting Test state. This means a developer in our team had found a fix for this. Now the fix should pass through all the test our quality assurance team will put it on. If it passes all the test it will be included in our next service release.
Please let me know if you need any additional information on this matter.
Hello Milko,
is there any update on the issue?
For the moment a simple workaround would be enough.
I have investigated your issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 243875 This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.
Please let me know if you need more information.