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

Problem with GridDataBoundGrid.Binder.AddRelation

Thread ID:





13183 Apr 22,2004 04:19 AM UTC Apr 22,2004 06:58 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On April 22, 2004 04:19 AM UTC

I''m using GridDataBoundGrid, after I add a relation like this: GridHierarchyLevel hierarchyLevel = this.gridDataBoundGrid.Binder.AddRelation("Children"); there will be a "+" symbol before every row. when you click it, the children rows will expand. This symbol always exist even if one row(object) does not contain a child, how to avoid it? thank you very much

Administrator [Syncfusion]
Replied On April 22, 2004 06:58 AM UTC

This is by design. The child does not know anything about the number of children until it tries to open teh node and populate the child table. So, you do have to try to open the node to know whether there are children. Here is a ondemand solution in an DrawCell Handler. It ''silently'' opens the node to see if there are children.


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

Live Chat Icon For mobile
Live Chat Icon