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

GGC Questions

Thread ID:





92526 Jan 19,2010 07:01 PM UTC Jan 28,2010 10:09 AM UTC WinForms 3
Tags: GridControl
Ruslan Gasanbekov
Asked On January 19, 2010 07:01 PM UTC


I have a couple of questions regarding the GGC :

Please see the Code attachement.

1.When using Frozen columns feature
this.gridGroupingControl1.TableModel.Cols.FrozenCount = 2
there appears to be some sort of line (kind of blue dotted line)
on the crid at the last frozen column right border.
How can I remove this line or make it invisible ?

2.When using shared scroller and changing the appearance of the
(this.gridGroupingControl1.Appearance.GroupCaptionPlusMinusCell.CellType = "Image";) there appears to be some sort of side affect:
move the scroller all the way right, now double click the
GroupCaptionPlusMinusCell (show as blank), see that scroller returns to the starting position (all the way left).
Is there a way to avoid this behavior ?

3.Is there a way to make headers "unpushable", meaning that upon
click the cell wont draw "push" effect(see attached picture) ?

4.Upon clicking the modified GroupCaptionPlusMinusCell, a black frame appears around this cell, is there a way to remove this frame/border (see attached picture)?

5.See the attached picture of scroll bar, is there a syncfusion
scroller that can be customezed this way ?

6.In GGC, during query style info event is ther a way to reach
the actual control in cell such as checkbox,button, DropDownList
? If not, when (event) the actual control could be reached ?

7.In GGC is there a built in property which can tell me all present groups (like grid.....Groups) ?

10x for the help.


Lingaraj S [Syncfusion]
Replied On January 21, 2010 09:50 AM UTC

Hi Ruslan,

Thank you for your interest in Syncfusion products.

1. Try using HighlightFrozenLine property in Model.Options to achieve this functionality as shown below.

this.gridGroupingControl1.TableControl.Model.Options.HighlightFrozenLine = false;

2 &4 . Try using Enabled property to achieve this functionality as shown below.

this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionPlusMinusCell.CellType = "Image";
this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionPlusMinusCell.CellValue = SystemIcons.Question.ToBitmap();
this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionPlusMinusCell.Enabled = false;

3. Try using Custom visual style to achieve this behavior as shown below.

this.gridGroupingControl1.TableModel.Options.GridVisualStyles = GridVisualStyles.Custom;
this.gridGroupingControl1.TableModel.Options.GridVisualStylesDrawing = new GridCustomThemHeader(GridVisualStyles.Custom);

5. Please try using below documentation to get more information about Tools product.

6. By default, GridGroupingControl does not allow to get a actual control in QueryCellStyleInfo event.

7. Try using Table.TopLevelGroup to find the present groups as shown below.


int GroupCount(Group gr)
int count = 0;
foreach (Group sgr in gr.Groups)
count += GroupCount(sgr);
return count;

Refer the modified sample from below link.

Please let me know if you have any queries.

Lingaraj S.

Ruslan Gasanbekov
Replied On January 27, 2010 07:40 PM UTC

10x for the help, it's very helpful.

Lingaraj S [Syncfusion]
Replied On January 28, 2010 10:09 AM UTC

Hi Ruslan,

Thank you for the update.

Please let me know if it helps.

Lingaraj S.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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