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.

GGC urgent

Thread ID:

Created:

Updated:

Platform:

Replies:

78185 Dec 2,2008 10:47 PM Dec 3,2008 06:21 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On December 2, 2008 10:47 PM

Hi, I am using GridGroupingcontrol of Syncfusion 6.3.1.8 version.

1.When i add GroupedColumns, the groups are displayed in alphabetical order of GroupedColumnNames.I want the groups should be displayed not in alphabetical order of column names but in the order in which the rows are present in the datasource.

2.I want the chilgroup caption row to come exactly below the parentgroup caption row.ie.without any indentation.If i set IndentWidth = 0 plus/minus cell is hidden.Please provide a sample how i can do this.The code should work for any number of hierarchies added.i.e. all group caption rows should start at same x coordinate(no indentation)

Please reply as early as possible.Thanks in advance!


Nisha Arockiya A [Syncfusion]
Replied On December 3, 2008 06:21 AM

Hi keshav,

Thanks for your interest in Syncfusion Products.

1.When i add GroupedColumns, the groups are displayed in alphabetical order of GroupedColumnNames.


This feature is by design.Always sorting follows Grouping in GridGroupingControl.


2.I want the childgroup caption row to come exactly below the parentgroup caption row.ie.without any indentation.


To do this, set the TableOptions.ShowTableIndent property of the ChildTableDescriptor to false.This will hide the default PlusMinus buttons. Then, QueryCellStyleInfo and TableControlCellButtonClicked events has to be hanlded to get the intended behavior. Please refer the attached sample for more details.

Here is a sample GGC_TableIndent.zip

Please let me know if this helps.

Regards,
Nisha


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.

;