mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Fixed #4156 - DataTable & TreeTable: new size property
This commit is contained in:
parent
c69c373b12
commit
467ac78118
5 changed files with 30 additions and 2 deletions
|
@ -259,7 +259,9 @@ const classes = {
|
|||
'p-datatable-striped': props.stripedRows,
|
||||
'p-datatable-gridlines': props.showGridlines,
|
||||
'p-datatable-grouped-header': instance.headerColumnGroup != null,
|
||||
'p-datatable-grouped-footer': instance.footerColumnGroup != null
|
||||
'p-datatable-grouped-footer': instance.footerColumnGroup != null,
|
||||
'p-datatable-sm': props.size === 'small',
|
||||
'p-datatable-lg': props.size === 'large'
|
||||
}
|
||||
],
|
||||
loadingOverlay: 'p-datatable-loading-overlay p-component-overlay',
|
||||
|
@ -709,6 +711,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
tableStyle: {
|
||||
type: null,
|
||||
default: null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue