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. Image for the cookie policy date
close icon

syncfusion - Hierarchical - Expand grid

hi, see the attachement. i am try to reload the same data, it is throwing null reff.. exception. I want to know, it is posible to reload the data please reply this

VB3.zip

1 Reply

AD Administrator Syncfusion Team May 25, 2006 05:18 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.
Live Chat Icon For mobile
Up arrow icon