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.
Syncfusion Feedback

How to remove or rename the grid caption by custom?

Thread ID:

Created:

Updated:

Platform:

Replies:

117168 Aug 27,2014 10:09 AM UTC Sep 1,2014 05:32 AM UTC Windows Forms 2
loading
Tags: GridGroupingControl
Yujin Wu
Asked On August 27, 2014 10:09 AM UTC

Hi Team,

 

We want to remove or rename the grid caption by custom and besides we want to drag column to group the grid,
however we failed with no luck with below code:
grid.TopLevelGroupOptions.ShowCaption = false;
grid.ShowGroupDropArea = false;

 

Could you give some suggestions how to realize it?

Thanks,
Wuyj


Attachment: Syncfusion_Grid_Caption_816fcca7.zip

Yujin Wu
Replied On September 1, 2014 01:00 AM UTC

Hi Team,

 

Any update?

 

Thanks

Yujin


Solai A L [Syncfusion]
Replied On September 1, 2014 05:32 AM UTC

Hi Yujin Wu,

 

Sorry for the delay.

 

To remove or rename the Caption text, please refer the below provided code (you can also refer the dashboard samples for this from the installed location-<Installed Location>\Syncfusion\EssentialStudio\12.2.0.36\Windows\Grid.Grouping.Windows\Samples) and let us know if you have any further concerns.

 

Code Snippet:

//to remove the caption text.

this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false;

//to rename the caption text.

this.gridGroupingControl1.TopLevelGroupOptions.CaptionText = "XYZ";

 

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.

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

;