Renders a live-updating HTML table that polls for new data via JSON and updates cell values in place without a full page reload.
LIVE — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
On initial render, produces a Bootstrap-styled table with up to 20 columns and unique cell IDs per row/column. Column format modes are specified by appending |<mode> to the field name:
| 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. |
| (default) | Passes value through process_text. |
When self._UpdateJson == "1", returns a JSON array of all data rows instead of HTML (used by the AJAX polling mechanism via updatejson=1 in the URL).
Requires beautifulsoup4 (bs4).