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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

grid grupping layout

Thread ID:

Created:

Updated:

Platform:

Replies:

103413 Apr 29,2012 09:22 AM UTC May 2,2012 12:22 PM UTC WinForms 2
loading
Tags: Grouping
Alessandro Breschi
Asked On April 29, 2012 09:22 AM UTC

Hello
I started using and I would hide GridGroupingControl
the GroupCaptionRowHeaderCell but can not find the way.
is it possible?
Thanx
Franco


Mercy C [Syncfusion]
Replied On May 2, 2012 12:22 PM UTC

Hi Franco,

Thanks for your interest in Syncfusion products.

Please make use of "QueryRowHeight" event and set the "Size" to "Zero".

void TableModel_QueryRowHeight(object sender, Syncfusion.Windows.Forms.Grid.GridRowColSizeEventArgs e)
{
GridTableCellStyleInfo style = this.gridGroupingControl1.TableControl.GetViewStyleInfo(e.Index, 0) as GridTableCellStyleInfo;
if (style.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionRowHeaderCell)
{
e.Handled = true;
e.Size = 0;
}

}

Please let me know if you have any concerns.

Regards,
Mercy.C



Mercy C [Syncfusion]
Replied On May 2, 2012 12:22 PM UTC

Hi Franco,

Thanks for your interest in Syncfusion products.

Please make use of "QueryRowHeight" event and set the "Size" to "Zero".

void TableModel_QueryRowHeight(object sender, Syncfusion.Windows.Forms.Grid.GridRowColSizeEventArgs e)
{
GridTableCellStyleInfo style = this.gridGroupingControl1.TableControl.GetViewStyleInfo(e.Index, 0) as GridTableCellStyleInfo;
if (style.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionRowHeaderCell)
{
e.Handled = true;
e.Size = 0;
}

}

Please let me know if you have any concerns.

Regards,
Mercy.C



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.

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

;