TdxSpreadSheetReportDesigner.RemoveSection(TdxSpreadSheetReportSectionType,Integer) Method
In This Article
Removes the specified section from the displayed report template.
#Declaration
Delphi
procedure RemoveSection(AType: TdxSpreadSheetReportSectionType; AIndex: Integer = -1); overload;
#Parameters
Name | Type |
---|---|
AType | Tdx |
AIndex | Integer |
#Remarks
The first overloaded variant allows you to delete a section passed as the ASection parameter.
The second overloaded variant removes a section whose type is passed as the AType parameter. In the case of master-detail report templates, you can use the optional AIndex parameter to specify the detail section’s zero-based index.
To allow end-users to clear an existing report template section, link the ResetSection command to an element of your UI.
See Also