Skip to content

Commit

Permalink
Revert "Fixed #15903 - Table | Multiple Selection with dataKey shows …
Browse files Browse the repository at this point in the history
…wrong selected row count upon CTRL+A"
  • Loading branch information
cetincakiroglu authored Jun 28, 2024
1 parent 0dc272d commit 0b87b1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,9 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable
}

rangeRowsData.push(rangeRowData);

setTimeout(() => {
this._selection = [...this.selection, rangeRowData];
});
let dataKeyValue = this.dataKey ? String(ObjectUtils.resolveFieldData(rangeRowData, this.dataKey)) : null;
if (dataKeyValue) {
this.selectionKeys[dataKeyValue] = 1;
Expand Down

0 comments on commit 0b87b1f

Please sign in to comment.