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

GridGroupingControl and ShowTableIndent issues

Thread ID:





105005 Aug 31,2012 01:28 PM UTC Sep 7,2012 04:05 AM UTC WinForms 2
Tags: GridControl
Jeff Voigt
Asked On August 31, 2012 01:28 PM UTC

We are currently using Syncfusion v9.3 (we can't easily upgrade so this is not an option).  We have a grid grouping control using the following code:

grd.TableOptions.ShowRowHeader = false;
grd.NestedTableGroupOptions.ShowColumnHeaders = false;

The result looks like so:

Now, we've tried to implement the following code:

grd.TableOptions.ShowRowHeader = false;
grd.NestedTableGroupOptions.ShowColumnHeaders = false;
grd.TableOptions.ShowTableIndent = false;
grd.TableOptions.ShowRecordPlusMinus = true;

The result then looks like this:

As you can see we totally lost our ShowRecordPlusMinus!  We've spent countless hours trying to figure out how to achieve this result here.

Thank You,

Jeff Voigt
Replied On August 31, 2012 01:42 PM UTC

Another thread helped me finally!!!

I used the following code to achieve it:

grd.GetTableModel(grd.TableDescriptor.Relations[0].ChildTableName).QueryColWidth += new GridRowColSizeEventHandler(ChildTableModel_QueryColWidth);

and then implemented the method like so:

private void ChildTableModel_QueryColWidth(object sender, GridRowColSizeEventArgs e)
if (e.Index == 1)
e.Size = 0;
e.Handled = true;

Arun Kumar V [Syncfusion]
Replied On September 7, 2012 04:05 AM UTC

Hi Jv,

We are glad to hear that your issue is resolved.
Let me know if you have any other concerns.

Arun Kumar V


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