Fixed #4229 - Datatable: Filtering with grouping not working

This commit is contained in:
Tuğçe Küçükoğlu 2023-08-09 16:51:31 +03:00
parent 2e9e12ee6e
commit bdb266092a
2 changed files with 68 additions and 61 deletions

View file

@ -281,7 +281,7 @@ const classes = {
thead: 'p-datatable-thead',
// headercell
headerCell: ({ instance, props, column }) =>
column && !instance.columnProp(column, 'hidden') && (props.rowGroupMode !== 'subheader' || props.groupRowsBy !== columnProp(column, 'field'))
column && !instance.columnProp(column, 'hidden') && (props.rowGroupMode !== 'subheader' || props.groupRowsBy !== instance.columnProp(column, 'field'))
? [
'p-filter-column',
{