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
|
||||
model_row_class = None
|
||||
rows_filterable = True
|
||||
rows_sortable = True
|
||||
rows_viewable = True
|
||||
rows_creatable = False
|
||||
rows_editable = False
|
||||
|
@ -260,8 +262,8 @@ class MasterView(View):
|
|||
|
||||
defaults = {
|
||||
'width': 'full',
|
||||
'filterable': True,
|
||||
'sortable': True,
|
||||
'filterable': self.rows_filterable,
|
||||
'sortable': self.rows_sortable,
|
||||
'pageable': True,
|
||||
'row_attrs': self.row_grid_row_attrs,
|
||||
'model_title': self.get_row_model_title(),
|
||||
|
|
Loading…
Reference in a new issue