Let master view with rows prevent sort/filter for row grid
This commit is contained in:
parent
732681b545
commit
e86066e9ed
|
@ -73,6 +73,8 @@ class MasterView(View):
|
||||||
|
|
||||||
has_rows = False
|
has_rows = False
|
||||||
model_row_class = None
|
model_row_class = None
|
||||||
|
rows_filterable = True
|
||||||
|
rows_sortable = True
|
||||||
rows_viewable = True
|
rows_viewable = True
|
||||||
rows_creatable = False
|
rows_creatable = False
|
||||||
rows_editable = False
|
rows_editable = False
|
||||||
|
@ -260,8 +262,8 @@ class MasterView(View):
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
'width': 'full',
|
'width': 'full',
|
||||||
'filterable': True,
|
'filterable': self.rows_filterable,
|
||||||
'sortable': True,
|
'sortable': self.rows_sortable,
|
||||||
'pageable': True,
|
'pageable': True,
|
||||||
'row_attrs': self.row_grid_row_attrs,
|
'row_attrs': self.row_grid_row_attrs,
|
||||||
'model_title': self.get_row_model_title(),
|
'model_title': self.get_row_model_title(),
|
||||||
|
|
Loading…
Reference in a new issue