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.

GridDataControl with nested child collection

Thread ID:

Created:

Updated:

Platform:

Replies:

98195 Feb 13,2011 05:51 AM Feb 17,2011 04:07 AM WPF 1
loading
Tags: GridControl
Mohammed Eid
Asked On February 13, 2011 05:51 AM

Hi,

I have GridDataControl with nested child grid, the child grid has

3 columns which the parent GridDataControl have too.

I want to hice the Grid Child's Headers and use the parent headers

for displaying the child data.

Example:

Parent Grid
----------------------------------------------
ID | Name | Explicit Name | Comment | Format |
----------------------------------------------

| Name | Explicit Name | Comment | <- I'll hide headers
| x | yyyyyyyyyyyyy | xxxxxxx | <- user see data only
| x | yyyyyyyyyyyyy | xxxxxxx | <- under the parent col
| x | yyyyyyyyyyyyy | xxxxxxx | <- headers.
| x | yyyyyyyyyyyyy | xxxxxxx |


Please help me...
I neet answer as soon as possible.

Regards,
Mohammed Eid
.NET Developer



Manikandan [Syncfusion]
Replied On February 17, 2011 04:07 AM

Hi Mohammed,

Thanks for using Syncfusion Products.

Yes you can remove the header row of the child table by setting its height as 0. But there is no support to set the parents header to child table, if needed you can change the header text of child as parent.

Code Snippet [C#]

foreach (var Relation in this.dataGrid.Relations)
{
Relation.TableProperties.DefaultHeaderRowHeight = 0;
}

Please let us know if you have any queries.

Regards,
Manikandan J R.


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.

;