(row: TableRowBase)
| 95 | } |
| 96 | |
| 97 | isSelected(row: TableRowBase): boolean { |
| 98 | if (row.isHeaderRow()) { |
| 99 | return this.headerSelector === "ClearAll" ? true : this.areAllRowsSelected(); |
| 100 | } |
| 101 | |
| 102 | const rowKey = this.getRowKey(row as TableRow); |
| 103 | return this.getSelectedAsSet().has(rowKey); |
| 104 | } |
| 105 | |
| 106 | setSelected(row: TableRowBase, selected: boolean, fireEvent: boolean = false) { |
| 107 | if (this._rangeSelection?.isMouse && this._rangeSelection.shiftPressed) { |
no test coverage detected