Fixed #4133 - Selection(multiple and single) not working in TreeTable

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-14 10:17:45 +03:00
parent 1c05650aaf
commit a09f66ec46
2 changed files with 3 additions and 3 deletions

View file

@ -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',