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. Image for the cookie policy date

grid grupping layout

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


2 Replies

MC Mercy C Syncfusion Team 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




MC Mercy C Syncfusion Team 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



Loader.
Live Chat Icon For mobile
Up arrow icon