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.

Remove\Hide header row in GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

118528 Mar 17,2015 06:01 AM Mar 20,2015 12:10 AM Windows Forms 5
loading
Tags: GridGroupingControl
Rem Aza
Asked On March 17, 2015 06:01 AM

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?

Solai A L [Syncfusion]
Replied On March 18, 2015 03:39 AM

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.


Rem Aza
Replied On March 18, 2015 09:15 AM

Hi

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





Attachment: gridgrouping_control_2d8eb8b1.rar

Solai A L [Syncfusion]
Replied On March 19, 2015 06:34 AM

 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

Rem Aza
Replied On March 19, 2015 10:31 AM

Thank you. This solved it

Solai A L [Syncfusion]
Replied On March 20, 2015 12:10 AM

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.


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.

;