We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid grouping control maximum nesting level (7 Levels)

Thread ID:

Created:

Updated:

Platform:

Replies:

143179 Mar 7,2019 03:49 PM UTC Mar 8,2019 06:04 AM UTC WinForms 1
loading
Tags: GridGroupingControl
Tim Luna
Asked On March 7, 2019 03:49 PM UTC

Version 16.1460.0.37

I am having the same issue that this user previously reported:
https://www.syncfusion.com/forums/96332/grid-grouping-control-maximum-nesting-level

When using a self referencing class object added to a BindingList as a datasource I only get tables down to level 7 (see attached screenshot in .rar)

Public Class TableItem
     Public Property wbsItemId As Integer
     Public Property ParentWBSItem as TableItem
     Public Property ParentId As Integer
     Public Property WBSItemName As String
     Public Property WBSChildren As BindingList(Of TableItem)
End Class

Private Sub AddItems()
        Dim wbsGridItembindingList As New BindingList(Of TableItem)
        Dim newWbsItem As New TableItemWith {.wbsItemId = iteratorNum, .ParentWBSItem = Nothing, .WBSItemName = "Item" & 1}
        wbsGridItembindingList.Add(newWbsItem)
        Dim newWBSParentItem As TableItem= newWbsItem

        For x As Integer = 2 To 10
            Dim newChildWbsItem As New TableItem With {.wbsItemId = x, .ParentWBSItem = newWBSParentItem, .WBSItemName = "Item" & x}
            newWBSParentItem.WBSChildren.Add(newChildWbsItem)
            newWBSParentItem = newChildWbsItem
        Next

        Me.GridGroupingControl1.DataSource = wbsGridItembindingList
End Sub

Attachment: NestedTableLimit_b9ebe3e9.rar

Arulraj A [Syncfusion]
Replied On March 8, 2019 06:04 AM UTC

Hi Tim, 

Thanks for using Syncfusion product. 

To use more than 7 level of child table you could use the MaxNestedCollectionRecurseLevel property. Please refer the following code example and the sample. 

Code example 
Me.gridGroupingControl1.Engine.MaxNestedCollectionRecurseLevel = 10
 
Screenshot 
 
 
 
Please get back to us if you need any further assistance on this. 

Regards, 
Arulraj A 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;