Renders a sortable HTML table using DataTables, re-executing the query with process_text substitution and supporting {button:...} macros in query values.
TABLESORTPT — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
No parameters are used. Before rendering, self._Query is processed through ProcessText, with any {button:...} macro strings temporarily replaced to prevent them from being corrupted by text substitution. The query is then executed to populate self.data_list and self.FieldNames. Each cell value is also passed through ProcessText during rendering. Returns an HTML string including an inline DataTables initialisation script.
ObjReportTableSort in that query text and cell values are processed through ProcessText, enabling dynamic substitution of config values, button macros, and other Axion placeholders.{button:...}) are preserved during ProcessText by replacing them with a sentinel string and restoring them afterward.responsive: true, lengthChange: false, autoWidth: false.