Skip to content

Commit

Permalink
Merge pull request #14675 from primefaces/issue-14634
Browse files Browse the repository at this point in the history
Fixed #14634 - Table | Built-in Ctrl+A errors when rows parameter is …
  • Loading branch information
cetincakiroglu authored Feb 1, 2024
2 parents d14473c + 4fb0b6f commit 6c06934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3578,7 +3578,7 @@ export class SelectableRow implements OnInit, OnDestroy {

default:
if (event.code === 'KeyA' && (event.metaKey || event.ctrlKey)) {
const data = this.dt.dataToRender(this.dt.rows);
const data = this.dt.dataToRender(this.dt.processedData);
this.dt.selection = [...data];
this.dt.selectRange(event, data.length - 1);

Expand Down

0 comments on commit 6c06934

Please sign in to comment.