diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index d9ad7e7d7..ff1c206da 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -470,7 +470,7 @@ export default { self, globalPT, key !== 'transition' && { - ...(key === 'root' && this.$.type.name === this.$options.hostName && { [`${datasetPrefix}name`]: ObjectUtils.toFlatCase(this.$.type.name) }), + ...(key === 'root' && { [`${datasetPrefix}name`]: ObjectUtils.toFlatCase(this.$.type.name) }), [`${datasetPrefix}section`]: ObjectUtils.toFlatCase(key) } ); diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index a74c73358..682e06a6c 100755 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -603,6 +603,10 @@ export interface DataTablePassThroughOptions { * Used to pass attributes to the rowgroup header's DOM element. */ rowGroupHeader?: DataTablePassThroughOptionType; + /** + * Used to pass attributes to the rowgroup header cell's DOM element. + */ + rowGroupHeaderCell?: DataTablePassThroughOptionType; /** * Used to pass attributes to the body row's DOM element. */ @@ -611,14 +615,26 @@ export interface DataTablePassThroughOptions { * Used to pass attributes to the row expansion's DOM element. */ rowExpansion?: DataTablePassThroughOptionType; + /** + * Used to pass attributes to the row expansion cell's DOM element. + */ + rowExpansionCell?: DataTablePassThroughOptionType; /** * Used to pass attributes to the rowgroup footer's DOM element. */ rowGroupFooter?: DataTablePassThroughOptionType; + /** + * Used to pass attributes to the rowgroup footer cell's DOM element. + */ + rowGroupFooterCell?: DataTablePassThroughOptionType; /** * Used to pass attributes to the empty message's DOM element. */ emptyMessage?: DataTablePassThroughOptionType; + /** + * Used to pass attributes to the empty message cell's DOM element. + */ + emptyMessageCell?: DataTablePassThroughOptionType; /** * Used to pass attributes to the tfoot's DOM element. */ diff --git a/components/lib/datatable/TableBody.vue b/components/lib/datatable/TableBody.vue index 94e6bd99b..4c438d5d2 100755 --- a/components/lib/datatable/TableBody.vue +++ b/components/lib/datatable/TableBody.vue @@ -10,7 +10,7 @@ role="row" v-bind="ptm('rowGroupHeader')" > - +