diff --git a/api-generator/components/datatable.js b/api-generator/components/datatable.js index 1093b5d2f..08e604f52 100644 --- a/api-generator/components/datatable.js +++ b/api-generator/components/datatable.js @@ -346,6 +346,18 @@ const DataTableProps = [ type: "boolean", default: "false", description: "Whether to displays rows with alternating colors." + }, + { + name: "tableStyle", + type: "object", + default: "null", + description: "Inline style of the table element." + }, + { + name: "tableClass", + type: "string", + default: "null", + description: "Style class of the table element." } ]; diff --git a/src/components/datatable/DataTable.d.ts b/src/components/datatable/DataTable.d.ts index 5b7323238..732fd8074 100755 --- a/src/components/datatable/DataTable.d.ts +++ b/src/components/datatable/DataTable.d.ts @@ -61,6 +61,8 @@ interface DataTableProps { breakpoing?: string; showGridlines?: boolean; stripedRows?: boolean; + tableStyle?: object; + tableClass?: string; } interface DataTableHeaderSlotInterface { diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 8414b3278..d4edebb91 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -17,7 +17,7 @@
Whether to displays rows with alternating colors. | +|||
tableStyle | +object | +null | +Inline style of the table element. | +
tableClass | +string | +null | +Style class of the table element. | +