diff --git a/components/lib/datatable/BaseDataTable.vue b/components/lib/datatable/BaseDataTable.vue index 8bdf78646..bc565808f 100644 --- a/components/lib/datatable/BaseDataTable.vue +++ b/components/lib/datatable/BaseDataTable.vue @@ -211,11 +211,11 @@ export default { default: null }, rowClass: { - type: null, + type: [String, Object], default: null }, rowStyle: { - type: null, + type: Object, default: null }, scrollable: { @@ -263,11 +263,11 @@ export default { default: null }, tableClass: { - type: String, + type: [String, Object], default: null }, tableProps: { - type: null, + type: Object, default: null }, filterInputProps: { diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index 6c4e36b43..f26a35833 100755 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -1117,11 +1117,11 @@ export interface DataTableProps { /** * Inline style of the table element. */ - tableStyle?: any; + tableStyle?: object | undefined; /** * 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. */