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.

Column Expansion

Thread ID:

Created:

Updated:

Platform:

Replies:

56320 Feb 13,2007 12:20 PM Feb 14,2007 11:46 AM Windows Forms 4
loading
Tags: GridControl
Adnan Sohail
Asked On February 13, 2007 12:20 PM

Hi,

In this example, i have a month column and 4 columns for its weeks. All these column are at the same level.

I was wondering if i could expand the month column and show weeks columns underneath it.

Eventually, i would like to show days under weeks. But if you could just help me showing weeks under months, then i can figure out days.

Thanks,
Adnan

Custom1.zip

Administrator [Syncfusion]
Replied On February 13, 2007 07:00 PM

Hi Adnan,

One comment is that by default, there is no built-in support for grouping columns in a virtual grid. If you need this support, we encourage you to use the GroupingGridControl. Please refer to the Grouping category browser sample. Here is a some sample in Grouping category.

The Grouping (\Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\Grouping\Grouping\ ) sample illustrates how to do grouping of data at design time.

The MulticolumnGrouping ( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\Grouping\MulticolumnGrouping\ ) sample lets you group the data by multiple columns.

The GroupingEvents ( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\Grouping\GroupingEvents\ ) sample demonstrates the creation of an event log which, will show the order of the various Grouping events that are fired.

The CustomSectionInGroup ( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\Grouping\CustomSectionInGroup\ ) sample demonstrates how to customize the layout of groups.

Best regards,
Haneef

Adnan Sohail
Replied On February 14, 2007 10:30 AM

Hi Haneef,

I have no problems using the gridgrouping control, but can i bound to a business object like virtual grid?

Thanks,
Adnan

Administrator [Syncfusion]
Replied On February 14, 2007 10:45 AM

Hi Adnan,

The GenericCollection browser sample demonstrates the implementation of a Generic Collection and how you can bind it to a grid grouping control. A generic collection is one that can handle any Type in a generic and Type-Safe manner. By creating a generic collection, we can get the immediate benefit of type safety without having to derive from a base collection type and implement type-specific members.

Here is a path.
\Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\CustomCollections\GenericCollection\

Also refer to the CustomCollection ( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\CustomCollections\ ) category browser sample for more details.

Best regards,
Haneef

Adnan Sohail
Replied On February 14, 2007 11:46 AM

ok .. i have seen most of the grouping grid
control samples.

I am wondering if it's easily achieveable to get a UI similar to what i have in the example i uploaded.

We are in planning stage and trying to figure out which grid will be the best solution.

Thanks for your help.



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.

;