Fixed #4133 - Selection(multiple and single) not working in TreeTable
parent
1c05650aaf
commit
a09f66ec46
|
@ -174,10 +174,10 @@ const styles = `
|
|||
`;
|
||||
|
||||
const classes = {
|
||||
root: ({ props }) => [
|
||||
root: ({ instance, props }) => [
|
||||
'p-treetable p-component',
|
||||
{
|
||||
'p-treetable-hoverable-rows': props.rowHover || props.rowSelectionMode,
|
||||
'p-treetable-hoverable-rows': props.rowHover || instance.rowSelectionMode,
|
||||
'p-treetable-auto-layout': props.autoLayout,
|
||||
'p-treetable-resizable': props.resizableColumns,
|
||||
'p-treetable-resizable-fit': props.resizableColumns && props.columnResizeMode === 'fit',
|
||||
|
|
|
@ -394,7 +394,7 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
containerClass() {
|
||||
return [this.node.styleClass, this.cx('root')];
|
||||
return [this.node.styleClass, this.cx('row')];
|
||||
},
|
||||
expanded() {
|
||||
return this.expandedKeys && this.expandedKeys[this.node.key] === true;
|
||||
|
|
Loading…
Reference in New Issue