add stateSave for tables
alaaib opened this issue · 1 comments
alaaib commented
#tables.py
#save state of table between PostBack , Redirect ... (saves filter,search,etc ... )
self.save_state = getattr(options, 'stateSave', False)
#table.html
{% block save_table_state %}
"stateSave": {{ save_state }},
{% endblock %}
18926589010 commented
good, , i have to modify the templates table.html as below before i see this comment
{% block table_options %}
"stateSave": true,
{% block table_dom %}