Renders a plain HTML table without DataTables, supporting up to 20 columns with special formatting modes per column, right-aligning numeric columns.
INLINETABLE — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Column headers are taken from field names (after | split). Column format modes are specified by appending |<mode> to the field name in the query:
| Mode | Effect |
|---|---|
raw |
Parses cell HTML through BeautifulSoup and renders it pretty-printed. |
englishdatetime |
Converts YYYY-MM-DD HH:MM:SS to DD Mon YYYY format. |
| (default) | Passes value through process_text. |
The first column is left-aligned; all other columns are right-aligned.
Requires beautifulsoup4 (bs4).