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

Remove\Hide header row in GridGroupingControl

Please see attached image file of gridgroupcontrol

arrows are pointing to two rows I want to remove .

which property do i have to set to remove these two rows?

5 Replies

SA Solai A L Syncfusion Team March 18, 2015 07:39 AM UTC

Hi Rem,

Thank you for interest in Syncfusion Products.

In order to hide a rowheader, you need to set ShowRowHeader to false and for any specific row, you can use Rows.Hidden[rowindex]. Please refer the below UG link for further clarification.

UG Links:

http://help.syncfusion.com/ug/windows%20forms/default.htm#!Documents/howtohidearoworcolum.htm

http://help.syncfusion.com/ug/windows%20forms/default.htm#!Documents/howtohidetherowheade.htm

http://help.syncfusion.com/ug/windows%20forms/default.htm#!Documents/showorhideheader.htm

Note: The attachment is missing. So, we have provided the solution based on the query.

Warm Regards,

AL.Solai.



RA Rem Aza March 18, 2015 01:15 PM UTC

Hi

This did not solve the problem .
Kindly see attached file for rows I am trying to hide





Attachment: gridgrouping_control_2d8eb8b1.rar


SA Solai A L Syncfusion Team March 19, 2015 10:34 AM UTC

 Hi Rem,

 

Thank you for your update.

 

The top one is Caption Bar, you can hide it using ShowCaption property. The next one is AddNewRecord, this can be hided using ShowAddNewRecordBeforeDetails/ ShowAddNewRecordAfterDetails. Please refer the below code snippet and image attached for reference.

 

Code Snippet:

 

 this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;

  this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false;

 

Please let us know if you have any other concerns.

 

Thanks & Regards,

AL.Solai.


Attachment: image_b319306e.zip


RA Rem Aza March 19, 2015 02:31 PM UTC

Thank you. This solved it


SA Solai A L Syncfusion Team March 20, 2015 04:10 AM UTC

Hi Rem,

Thank you for your update.

We are glad to know that your issue has been resolved. Please let us know if you have any other concerns.

Thanks & Regards,

AL.Solai.


Loader.
Up arrow icon