GCC appearance customization

Hello,

I need to customize the grid so that it would look like the attachement as much as possible.

There are 3 main goals:

1.Is it possible to make headers so that some of them will
be higher then others?

2.I would like to create some spacing between group plus/minus
and the grid itself, and add some text near the plus/minus.

3.How can I customize the default collapsed "grouprow" so it will look more like "empty grid row" ?

It would be great of you could provide me some code/directions on
how to achieve these goals.

10x for the support.






GridDesign_50097107.rar

7 Replies

RK Ranjeet Kumar Syncfusion Team December 29, 2009 03:13 PM UTC

Hi Ruslan,
Thanks for your interest in Syncfusion Products.

Q1. Is it possible to make headers so that some of them will be higher then others?

Sol . Please follow the link to have better understanding of the stacked header feature of GridGroupingControl which will help you to achieve your goal.

Essential Studio V7.4.0.20
GridGroupingSamples -> Grouping Grid Layout -> Employee View Demo

Q2. I would like to create some spacing between group plus/minus and the grid itself, and add some text near the plus/minus.

Sol. You need to handle TableModel.QueryColWidth event to have space between plus/minus and grid border,
this.gridGroupingControl1.TableModel.QueryColWidth += new GridRowColSizeEventHandler(TableModel_QueryColWidth);
if (e.Index == 1)
{
e.Size = 50;

}

Q3. How can I customize the default collapsed "grouprow" so it will look more like "empty grid row" ?

Sol. To completely remove the collapsed grouprow,

this.gridGroupingControl1.ChildGroupOptions.ShowCaption = false;

And to remove the caption of the grouped row,

this.gridGroupingControl1.ChildGroupOptions.CaptionText = "";


Please find the sample link from :

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=92207(GGC_Questions2)-626784986.zip


Regards,
Ranjeet .


RG Ruslan Gasanbekov December 30, 2009 03:09 PM UTC

10x for the answer.

Can you please repost the attachement from this thread
http://www.syncfusion.com/support/forums/grid-windows/33514/how-do-i-make-the-header-in-the-griddataboundgrid-invisible

It shows how to set one of the columnheaders as empty cell.


LS Lingaraj S Syncfusion Team December 31, 2009 11:26 AM UTC

Hi Ruslan,

Thank you for the update.

We have tested the sample link from provided forum, but it seems work fine.

Again I have placed the link below:
http://www.syncfusion.com/Support/user/uploads/GGC_EmptyHeaderCell_dd519d5b.zip
http://www.syncfusion.com/Support/user/uploads/GGC_EmptyHeaderCell_4558bc5b.zip

Please let me know if it helps.

Regards,
Lingaraj S.


RG Ruslan Gasanbekov January 3, 2010 11:49 AM UTC

The attachements still don't work (see the attached screen shot), can you please repost them the way you posted the original thread attachement ?
( 92207(GGC_Questions2)...)

10q.



NotWorkingLink_8960811.rar


JJ Jisha Joy Syncfusion Team January 4, 2010 04:36 AM UTC

Hi Ruslan,

The above provided links are hitting correctly. Please try use the following link too.

Regards,
Jisha



ggc_emptyheadercell_dd519d5b_bf0bcff9.zip


RG Ruslan Gasanbekov January 4, 2010 09:57 AM UTC

10x for the help, works fine.


JJ Jisha Joy Syncfusion Team January 5, 2010 05:42 AM UTC

Hi Ruslan,


Thank you for your update.

Regards,
Jisha

Loader.
Up arrow icon