Fixed #4306 - DataTable: PT Options missing for Expansion Row Cell

This commit is contained in:
Tuğçe Küçükoğlu 2023-08-24 13:29:52 +03:00
parent 14a1ed5c01
commit bb12c9e724
2 changed files with 5 additions and 6 deletions

View file

@ -470,7 +470,7 @@ export default {
self,
globalPT,
key !== 'transition' && {
...(key === 'root' && { [`${datasetPrefix}name`]: ObjectUtils.toFlatCase(this.$.type.name) }),
...(key === 'root' && this.$.type.name === this.$options.hostName && { [`${datasetPrefix}name`]: ObjectUtils.toFlatCase(this.$.type.name) }),
[`${datasetPrefix}section`]: ObjectUtils.toFlatCase(key)
}
);