Renders a full-featured jQuery DataTable with sortable columns, pagination, and export buttons (copy, CSV, Excel, PDF, print).
DATA — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Column headers are resolved via process_text ($fieldname$ token) and title-cased. Field names containing _ are split; the part after _ is appended to the header as a secondary label. All cell values are passed through process_text.
Options read from self._Options JSON.
| Key | Effect |
|---|---|
| (raw JS object string) | Passed directly to DataTable(...) constructor. Defaults to a configuration with [10, 25, 50, All] page lengths, Buttons extension (copy/csv/excel/pdf/print), and responsive: true. |
Requires jquery.dataTables.min.js, dataTables.bootstrap.js, datatables.min.js, and their corresponding CSS files.