|120301||Sep 18,2015 03:28 PM UTC||Sep 23,2015 05:57 AM UTC||WinForms||3|
Thanks for contacting Syncfusion Support.
There is no default support for showing the Caption at the end of the Grid. But it can be achieved by having the simple workaround. To show the caption text at the end of the grid, need to customize the GroupFooter section (which will be displayed at the end of the table). Please refer to the following code example,
//Display the GroupFooter cell
this.gridGroupingControl1.TopLevelGroupOptions.ShowGroupFooter = true;
//Set the caption text to be displayed
String CaptionText = this.gridGroupingControl1.TableDescriptor.Name + ":" + this.gridGroupingControl1.Table.Records.Count + " Items";
this.gridGroupingControl1.Appearance.GroupFooterSectionCell.CellValue = CaptionText;
//Disable the editing
this.gridGroupingControl1.Appearance.GroupFooterSectionCell.CellType = GridCellTypeName.Static;
//Set the height of the GroupCaption
this.gridGroupingControl1.TableOptions.GroupFooterSectionHeight = 20;
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.
This page will automatically be redirected to the sign-in page in 10 seconds.