Renders a self-refreshing table that fetches its data via RPC and replaces its container HTML only when the content changes.
SIMPLETABLE — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
No parameters affect the query directly. Returns an HTML div containing JavaScript that calls RemoteProcedureCall to invoke RpcGettable on a configurable interval, updating the container only when the returned HTML differs from the previous value.
RpcGettable(Data)Server-side RPC handler. Executes self._Query (with process_text substitution), builds a Bootstrap striped/bordered <table>, and returns it as an HTML string. Respects max_columns and max_rows options.
Options read from self._Options JSON:
| Key | Effect |
|---|---|
refresh |
Polling interval in milliseconds (default 3000). |
max_columns |
Maximum number of columns to render (default 15). |
max_rows |
Maximum number of rows to render (default 50). |
axion.rpc.js for the RemoteProcedureCall function.previousHTML, reducing unnecessary DOM updates.