How to Change the Caption Text
3 Jan 20201 minute to read
This can be done using the code below.
// Sets the caption text.
// {TableName} - Displays the CaptionSection.ParentTableDescriptor.Name
//{CategoryName} - Displays the CaptionSection.ParentGroup.Name
//{Category} - Displays the CaptionSection.ParentGroup.Category
//{RecordCount} - Displays the CaptionSection.ParentGroup.GetFilteredRecordCount()
this.gridGroupingControl1.TopLevelGroupOptions.CaptionText = "TableName is {TableName} : {Category} : {RecordCount}";
'Sets the caption text.
' {TableName} - Displays the CaptionSection.ParentTableDescriptor.Name
'{CategoryName} - Displays the CaptionSection.ParentGroup.Name
'{Category} - Displays the CaptionSection.ParentGroup.Category
'{RecordCount} - Displays the CaptionSection.ParentGroup.GetFilteredRecordCount()
Me.gridGroupingControl1.TopLevelGroupOptions.CaptionText = "TableName is {TableName} : {Category} : {RecordCount}"