|117168||Aug 27,2014 06:09 AM||Sep 1,2014 01:32 AM||Windows Forms||2|
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?
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\126.96.36.199\Windows\Grid.Grouping.Windows\Samples) and let us know if you have any further concerns.
//to remove the caption text.
this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false;
//to rename the caption text.
this.gridGroupingControl1.TopLevelGroupOptions.CaptionText = "XYZ";
Thanks & Regards,
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.