Grid Grouping Control Indent

I am trying to construct a grouping grid with a plus/minus caption row and non-indented child rows. If I set the property: GridGroupingControl ggc = new GridGroupingControl(); ggc.TableOptions.IndentWidth = 0; I lose the plus/minus button on the caption. If I set the properties: ggc.TableOptions.ShowTableIndent = false; ggc.TableOptions.ShowRowHeader = false; The plus/minus button remains visible, but the indent on the child rows re-appears. What is the correct way to implement this?

1 Reply

AD Administrator Syncfusion Team July 6, 2006 05:42 PM UTC

Hi Chris The indentwidth controls the width of the +/- cell, so you cannot set that to zero and still get the +/- button. You can try to use a covered range to cover the indent cell and the cell in the 1st data column. You can use QuerycellStyleInfo to display the data from the 1st data column in the indent cell. Here is a little sample. Sample : http://www.syncfusion.com/Support/user/uploads/GGC_Group_1baa875b.zip Best regards, Madhan

Loader.
Up arrow icon