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.

grid grupping layout

Thread ID:

Created:

Updated:

Platform:

Replies:

103413 Apr 29,2012 05:22 AM May 2,2012 08:22 AM Windows Forms 2
loading
Tags: Grouping
Alessandro Breschi
Asked On April 29, 2012 05:22 AM

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 08:22 AM

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 08:22 AM

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.

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.

;