diff --git a/components/lib/datatable/BaseDataTable.vue b/components/lib/datatable/BaseDataTable.vue index d37b0ac5c..736e41078 100644 --- a/components/lib/datatable/BaseDataTable.vue +++ b/components/lib/datatable/BaseDataTable.vue @@ -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', { diff --git a/doc/card/BasicDoc.vue b/doc/card/BasicDoc.vue index a47632890..0124b3de4 100644 --- a/doc/card/BasicDoc.vue +++ b/doc/card/BasicDoc.vue @@ -1,72 +1,79 @@ - - -