Add flexible grid class for v3 grids for width=half etc.
also add 'percent' type renderer, and include column name in <td> class
This commit is contained in:
parent
38418a4200
commit
172efe2ab9
3 changed files with 21 additions and 17 deletions
|
@ -214,7 +214,7 @@ class MasterView2(MasterView):
|
|||
"""
|
||||
defaults = {
|
||||
'model_class': getattr(self, 'model_class', None),
|
||||
# 'width': 'full',
|
||||
'width': 'full',
|
||||
'filterable': self.filterable,
|
||||
'sortable': self.sortable,
|
||||
'pageable': self.pageable,
|
||||
|
@ -239,7 +239,7 @@ class MasterView2(MasterView):
|
|||
|
||||
defaults = {
|
||||
'model_class': self.model_row_class,
|
||||
# 'width': 'full',
|
||||
'width': 'full',
|
||||
'filterable': self.rows_filterable,
|
||||
'sortable': self.rows_sortable,
|
||||
'pageable': self.rows_pageable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue