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.

Left padding of children rows in GGC

Thread ID:





72831 Apr 8,2008 05:46 AM Apr 24,2008 10:32 AM Windows Forms 1
Tags: GridControl
Asked On April 8, 2008 05:46 AM

Hi all,

I am new to SyncFusion components so I still havent got comfortable with the major controls. I have a grid grouping control and with a hierarchical type of structure. Is there any way to set the padding between the children rows and the left border/margin?

Alternatively I could achieve the same effect by setting the column width per hierarchy level (say x for parent, y for children and z for grandchildren).

Thanks in advance.

Sri Rajan [Syncfusion]
Replied On April 24, 2008 10:32 AM

Hi John,

Thank you for your interest in Syncfusion products.

You need to set TableOptions.IndentWidth to some integer value toset the padding between the children rows and the left border/margin. IndentWidth is used to set the Width in pixel of indentation of each child group. Here is the sample to code which implements this task.

this.gridGroupingControl1.TableOptions.IndentWidth = 100;

(Below code is the another way to achieve this behaviour)

this.gridGroupingControl1.Table.DefaultIndentWidth = 50;

Please let me know if this helps.

Best Regards,


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.