syncfusion - Hierarchical - Expand grid

hi, see the attachement. i am try to reload the same data, it is throwing null reff.. exception.

VB2.zip

1 Reply

AD Administrator Syncfusion Team May 25, 2006 05:19 AM UTC

Hi Chandirasekaran , You need to reset the hierarchylevel of the grid before modifying the underlying datasource. Here is a code snippet. Me.gridDataBoundGrid1.Binder.InternalColumns.Clear() Me.gridDataBoundGrid1.Binder.ResetHierarchyLevels() Me.gridDataBoundGrid1.DataMember = "Categories" Me.gridDataBoundGrid1.DataSource = ds Here is a modified sample. http://www.syncfusion.com/Support/user/uploads/VB2_d9565ef6.zip Let me know if this helps. Best Regards, Haneef

Loader.
Up arrow icon