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.

Problem with GridDataBoundGrid.Binder.AddRelation

Thread ID:

Created:

Updated:

Platform:

Replies:

13183 Apr 22,2004 12:19 AM Apr 22,2004 02:58 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 22, 2004 12:19 AM

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 02:58 AM

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.

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.

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.

;