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.
Syncfusion Feedback

Left padding of children rows in GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

72831 Apr 8,2008 09:46 AM UTC Apr 24,2008 02:32 PM UTC WinForms 1
loading
Tags: GridControl
JohnFish
Asked On April 8, 2008 09:46 AM UTC

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 02:32 PM UTC

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,
Srirajan



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

;