diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 9f8c0fed217..027902da239 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -3582,7 +3582,7 @@ export class SelectableRow implements OnInit, OnDestroy { break; default: - if (event.code === 'KeyA' && (event.metaKey || event.ctrlKey)) { + if (event.code === 'KeyA' && (event.metaKey || event.ctrlKey) && this.dt.selectionMode === 'multiple') { const data = this.dt.dataToRender(this.dt.processedData); this.dt.selection = [...data]; this.dt.selectRange(event, data.length - 1);