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

GCC appearance customization

Thread ID:

Created:

Updated:

Platform:

Replies:

92207 Dec 28,2009 12:06 PM UTC Jan 5,2010 05:42 AM UTC WinForms 7
loading
Tags: GridControl
Ruslan Gasanbekov
Asked On December 28, 2009 12:06 PM UTC

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

Ranjeet Kumar [Syncfusion]
Replied On 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 .

Ruslan Gasanbekov
Replied On 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.

Lingaraj S [Syncfusion]
Replied On 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.

Ruslan Gasanbekov
Replied On 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

Jisha Joy [Syncfusion]
Replied On 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

Ruslan Gasanbekov
Replied On January 4, 2010 09:57 AM UTC

10x for the help, works fine.

Jisha Joy [Syncfusion]
Replied On January 5, 2010 05:42 AM UTC

Hi Ruslan,


Thank you for your update.

Regards,
Jisha

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

;