refactor: #7090 for DataTable
parent
d0dd758147
commit
7fb5b3985b
|
@ -36,8 +36,8 @@
|
||||||
:isVirtualScrollerDisabled="isVirtualScrollerDisabled"
|
:isVirtualScrollerDisabled="isVirtualScrollerDisabled"
|
||||||
:editingMeta="editingMeta"
|
:editingMeta="editingMeta"
|
||||||
:rowGroupHeaderStyle="rowGroupHeaderStyle"
|
:rowGroupHeaderStyle="rowGroupHeaderStyle"
|
||||||
:expandedRowId="expandedRowId"
|
:expandedRowId="$id"
|
||||||
:nameAttributeSelector="nameAttributeSelector"
|
:nameAttributeSelector="$attrSelector"
|
||||||
@rowgroup-toggle="$emit('rowgroup-toggle', $event)"
|
@rowgroup-toggle="$emit('rowgroup-toggle', $event)"
|
||||||
@row-click="$emit('row-click', $event)"
|
@row-click="$emit('row-click', $event)"
|
||||||
@row-dblclick="$emit('row-dblclick', $event)"
|
@row-dblclick="$emit('row-dblclick', $event)"
|
||||||
|
@ -70,10 +70,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import BaseComponent from '@primevue/core/basecomponent';
|
|
||||||
import { UniqueComponentId } from '@primevue/core/utils';
|
|
||||||
import { getOuterHeight } from '@primeuix/utils/dom';
|
import { getOuterHeight } from '@primeuix/utils/dom';
|
||||||
import { resolveFieldData } from '@primeuix/utils/object';
|
import { resolveFieldData } from '@primeuix/utils/object';
|
||||||
|
import BaseComponent from '@primevue/core/basecomponent';
|
||||||
import BodyRow from './BodyRow.vue';
|
import BodyRow from './BodyRow.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -290,12 +289,6 @@ export default {
|
||||||
scrollable: this.$parentInstance?.$parentInstance?.scrollable
|
scrollable: this.$parentInstance?.$parentInstance?.scrollable
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
|
||||||
expandedRowId() {
|
|
||||||
return UniqueComponentId();
|
|
||||||
},
|
|
||||||
nameAttributeSelector() {
|
|
||||||
return UniqueComponentId();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
Loading…
Reference in New Issue