Renders a dynamically refreshing table built client-side from JSON data fetched via RPC, with process_text applied to query placeholders before execution.
SMARTTABLEPT — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1, Param2, Param3 — substituted into $param1$, $param2$, $param3$ placeholders in the query, passed to RpcGetlist.Returns an HTML div containing JavaScript that calls RemoteProcedureCall on a timer to invoke RpcGetlist, then builds a jQuery-based <table> inside a container div. Column headers are taken directly from the JSON keys returned by the query.
RpcGetlist(data)Executes self._Query with $param1$, $param2$, $param3$, $user$, and $usergroups$ substituted, then applies process_text to the full SQL string before executing. Returns a list of dicts with dates converted to strings and binary prefixes stripped.
ObjReportSmartTable in that it calls process_text on the entire SQL string after placeholder substitution, enabling dynamic text substitution of config values and other system variables within the query itself.axion.rpc.js for the RemoteProcedureCall function.self._Refresh (seconds). Defaults to 10 seconds if unset or invalid. Set to 0 to disable auto-refresh.document.visibilityState === "visible".