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

Hi,
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.

Regards,
Krishna Chaluvadi.


RequiredLayout1.zip

1 Reply

AD Administrator Syncfusion Team 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.
Regards,
Rajagopal

Loader.
Up arrow icon