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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Multiple Header rows within the same GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

74454 Jun 13,2008 03:20 PM UTC Jun 23,2008 07:40 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: GridGroupingControl
James Hargis
Asked On June 13, 2008 03:20 PM UTC

Can I have more than one Header row, (with different columns), in the same GGC? I basically want to have multiple "child" GGC's within a "parent" ggc where each child has at least 2 common columns that can be summarized by the "parent" GGC. I would like the ability to do this within a single GGC, but can't find examples of a GGC with multiple headers or GGC columns that are bound to a certain datasource for the first n-rows then bound to another datasource for the next n-rows.


Rajarajeswari S [Syncfusion]
Replied On June 18, 2008 05:12 PM UTC


Hi James,

Sorry for the delay in response.


Multiple Header rows within the same GGC


If you wants to have Multiple Header rows with in the same GGC, you can make use of our Multiple-Row concept in GGC. Please refer the below code snippet which illustrates this:


$sfwg:GridColumnSetDescriptor Name="ColumnSetAddress">
$ColumnSpans>
$sfwg:GridColumnSpanDescriptor Range="R0C0:R0C1" Name="Address">
$/sfwg:GridColumnSpanDescriptor>
$sfwg:GridColumnSpanDescriptor Range="R1C0" Name="City">
$sfwg:GridColumnSpanDescriptor Range="R1C1" Name="PostalCode">
$/sfwg:GridColumnSpanDescriptor>
$/ColumnSpans>
$/sfwg:GridColumnSetDescriptor>

Note:

Here "$" is used instead of "<".

We are defining custom ColumnSets in the TableDescriptor. In the above, GridColumnsSetDescriptor defines the column set that comprises the Address, City and PostalCode fields.


Please refer the sample from the below link which illustrates this:

C:\Documents and Settings\User Name\My Documents\Syncfusion\EssentialStudio\6.3.0.6\Web\grid.grouping.web\Samples\2.0\MultiRowRecords\MultiRowEmployeeRecords\cs

Please let me know if you have any other concerns.


Regards,
Raji



James Hargis
Replied On June 19, 2008 12:22 PM UTC

I want them in the middle of the table. Not just the top. Is that not possible?

>
Hi James,

Sorry for the delay in response.


Multiple Header rows within the same GGC


If you wants to have Multiple Header rows with in the same GGC, you can make use of our Multiple-Row concept in GGC. Please refer the below code snippet which illustrates this:


$sfwg:GridColumnSetDescriptor Name="ColumnSetAddress">
$ColumnSpans>
$sfwg:GridColumnSpanDescriptor Range="R0C0:R0C1" Name="Address">
$/sfwg:GridColumnSpanDescriptor>
$sfwg:GridColumnSpanDescriptor Range="R1C0" Name="City">
$sfwg:GridColumnSpanDescriptor Range="R1C1" Name="PostalCode">
$/sfwg:GridColumnSpanDescriptor>
$/ColumnSpans>
$/sfwg:GridColumnSetDescriptor>

Note:

Here "$" is used instead of "<".

We are defining custom ColumnSets in the TableDescriptor. In the above, GridColumnsSetDescriptor defines the column set that comprises the Address, City and PostalCode fields.


Please refer the sample from the below link which illustrates this:

C:\Documents and Settings\User Name\My Documents\Syncfusion\EssentialStudio\6.3.0.6\Web\grid.grouping.web\Samples\2.0\MultiRowRecords\MultiRowEmployeeRecords\cs

Please let me know if you have any other concerns.


Regards,
Raji






Rajarajeswari S [Syncfusion]
Replied On June 23, 2008 07:40 PM UTC


Hi James,


Sorry, it is not possible to have the header rows in the middle of the Table.

Please let me know if you have any other concerns.


Regards,
Raji


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

;