Table
Using the Handsontable library
For this panel content, the panel frame url_name must be frame_table, and it must have a url_action_name for the Automail URL controller to find the panel content.
Below is an example configuration of a panel using the Table module:
The view_params are:
model the model this table is based on
order_by the model field (str) or fields (list) to order the table by when loading (by default ascending alphanumeric order, for descending order use the prefix "-" (e.g. "-id"))
is_empty sets whether the table should be empty by default until the user clicks the Search button (must have a selectpickers section on top of the page)
init_max_rows_threshold the maximum number of rows that will be displayed without the user clicking the Search button
table_settings the table-level configuration
Last updated