Skip to main content

TdxSpreadSheetReportDesignerFieldChooser Class

A UI element for placing dataset field placeholders into the report template.

Declaration

TdxSpreadSheetReportDesignerFieldChooser = class(
    TdxSpreadSheetPersistentObject
)

Remarks

This class implements the special visual component provided by the Report Designer to assist end-users in designing report templates. The Field Chooser displays a tree-like list of draggable dataset field placeholders which an end-user can place into cells within the report template sections instead of manually typing the corresponding report template functions.

Normally, the tree-like list displayed by the Field Chooser is populated with all the fields obtained from all datasets bound to the Report Designer. However, you can omit certain fields from the list by handling the Report Designer’s OnPopulateField event. As an additional option, you can use the Visible property of the required fields stored by the Report Designer’s data controller(s).

The TdxSpreadSheetReportDesignerFieldChooser class extends its ancestor with members that allow you to:

  • Access the Report Designer to which the Field Chooser belongs (Designer);

  • Access the form that displays the Report Designer (Form);

  • Hide or display the Field Chooser form (Hide and Show);

  • Specify the control for hosting the Field Chooser (Site).

A TdxSpreadSheetReportDesignerFieldChooser object is referenced by the Spreadsheet Report control’s FieldChooser property.

Inheritance

See Also