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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

syncfusion - Hierarchical - Expand grid

Thread ID:

Created:

Updated:

Platform:

Replies:

44292 May 19,2006 06:43 AM UTC May 25,2006 05:19 AM UTC Windows Forms 1
loading
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.

VB2.zip

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

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.

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

;