Fixed #5297 - DataTable: tableClass prop specifies String type, though Array also works
parent
843a342024
commit
9fcc7cc848
|
@ -211,11 +211,11 @@ export default {
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
rowClass: {
|
rowClass: {
|
||||||
type: null,
|
type: [String, Object],
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
rowStyle: {
|
rowStyle: {
|
||||||
type: null,
|
type: Object,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
scrollable: {
|
scrollable: {
|
||||||
|
@ -263,11 +263,11 @@ export default {
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
tableClass: {
|
tableClass: {
|
||||||
type: String,
|
type: [String, Object],
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
tableProps: {
|
tableProps: {
|
||||||
type: null,
|
type: Object,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
filterInputProps: {
|
filterInputProps: {
|
||||||
|
|
|
@ -1117,11 +1117,11 @@ export interface DataTableProps {
|
||||||
/**
|
/**
|
||||||
* Inline style of the table element.
|
* Inline style of the table element.
|
||||||
*/
|
*/
|
||||||
tableStyle?: any;
|
tableStyle?: object | undefined;
|
||||||
/**
|
/**
|
||||||
* Style class of the table element.
|
* Style class of the table element.
|
||||||
*/
|
*/
|
||||||
tableClass?: any;
|
tableClass?: string | object | undefined;
|
||||||
/**
|
/**
|
||||||
* Used to pass all properties of the TableHTMLAttributes to table element inside the component.
|
* Used to pass all properties of the TableHTMLAttributes to table element inside the component.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue