|117168||Aug 27,2014 10:09 AM UTC||Sep 1,2014 05:32 AM UTC||WinForms||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\220.127.116.11\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.
or the page will be automatically redirected to sign-in page in 10 seconds.