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

syncfusion - Hierarchical - Expand grid

Thread ID:





44292 May 19,2006 06:43 AM UTC May 25,2006 05:19 AM UTC WinForms 1
Tags: FAQ
chandirasekaran S
Asked On May 19, 2006 06:43 AM UTC

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


Administrator [Syncfusion]
Replied On 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


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