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

Align inner grid''s left margin to outer grid left margin in GroupingGridControl

Thread ID:





56982 Feb 23,2007 07:57 AM UTC Feb 23,2007 07:55 PM UTC WinForms 1
Tags: GridControl
Asked On February 23, 2007 07:57 AM UTC

I am using SyncFusion GroupingGridControl v4.2.0.27 in my Windows Form for displaying parent and child tables. I am using .Net 2.0 f/w.

For each and very row in the grid, there may or may not an associated nexted grid. If exist, the nexted grid left margin should align with the the parent row.
I want to achieve the above look and feel.
I have tried by setting all indent properties of GroupingGridControl, but no luck.
Pls, find attached layout images on my requirement.

I appreciate your response and thanks in advance.

Krishna Chaluvadi.


Administrator [Syncfusion]
Replied On February 23, 2007 07:55 PM UTC

Hi Krishna,

If you want to display the nested childs in grid without indenting, then this can be achieved by hiding the default RecordPlusMinus buttons and having them in the same level with the parent.

To do this, set the TableOptions.ShowTableIndent property of the ChildTableDescriptor to false.This will hide the default PlusMinus buttons. Then, QueryCellStyleInfo and TableControlCellButtonClicked events has to be hanlded to get the intended behavior. Please refer the attached sample for more details.

Here is a sample GGC_TableIndent.zip

Thanks for using Syncfusion Products.


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

This page will automatically be redirected to the 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