Issue with Expandable Row Grouping After Upgrading to PrimeNG 19 #3430
Unanswered
understable14
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently migrated my project to Angular 19 and PrimeNG 19, and I've encountered an issue where all tables using the expandable row grouping functionality have stopped working.
Specifically:
The groups now start collapsed by default.
Clicking on the [pRowToggler] button that i setup has no effect, the rows cant be expanded.
Here's the relevant section of my template code:
`<p-table [value]="viaturas() | filterLocViaturas:filterViatura():filterType()"
[(selection)]="viaturaSelecionada"
(onRowSelect)="onSelectViatura($event)"
[expandedRowKeys]="expandedRowKeys"
selectionMode="single"
sortField="descricao"
sortMode="single"
dataKey="imei"
rowGroupMode="subheader"
groupRowsBy="grupo"
styleClass="p-datatable-striped" id="equipamentosTable">
This code worked perfectly before the update.
The strangest part is that I checked the official PrimeNG documentation in the components section to see if anything had changed, and the expandable row grouping functionality doesn’t seem to work there either.
If you visit the row grouping expandable section in the table component docs, you’ll see the same issue. (At least, that’s what I’m experiencing. It’s possible there’s something specific to my environment.)
Is this a change in functionality that’s not documented?
Is this a bug in PrimeNG 19?
Has anyone else faced a similar issue or found a solution?
Any guidance would be greatly appreciated! Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions