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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

56982 Feb 23,2007 02:57 AM Feb 23,2007 02:55 PM Windows Forms 1
loading
Tags: GridControl
krishna
Asked On February 23, 2007 02:57 AM

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

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

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

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.

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.

;