12. You can use. this.selection.deselect (row) this.selection.select (row) Sample to deselect 5th row with mat-table. function to do select or deselect specific row. Example: If you want to deselect 3rd row you can do following. this.selection.deselect (this.dataSource.data [2]) This the SelectionModel class code.
Pressing the Ctrl key, you can click, or click-and-drag to deselect any cells or ranges within a selection. If you need to reselect any of those cells, continue holding the Ctrl key and reselect those cells (for Mac, use the Cmd key).
Click on " Deselect " from the menu (second from the top) to deactivate all area selections. You can use keyboard shortcuts to make a quick deselection by simultaneously pressing ⌘ and D (mac) or Ctrl and D (Windows PC). It is a lot easier to deselect an object than what it can be to make complexed selection in the first place.
Once you've made a selection, you can easily deselect it using one of the following methods: Press Ctrl + D (Windows) or Command + D (Mac) on your keyboard. Go to the Select menu and choose Deselect. Right-click inside the selection and choose Deselect from the context menu. Advanced Selection Techniques . 3. Refining Selection Edges
Click on the Cell to Deselect: Identify the cell that you wish to remove from your selection. With the Control key still pressed, click on the undesired cell. This action will deselect that particular cell. Deselecting a Range of Cells: In some cases, you might need to deselect an entire range of cells.
XOXU.
how can you deselect a selection