I am using igx-grid
. When I am clicking on select all using rowSelection
, it selecting all the records present in grid, not of current page. I want to enable something by which when I click on select all of igx-grid checkbox, it should select only current page record, not all. Is there any way to do the same? Because I am trying it from last 3 days but not getting any solution. Thanks in Advance!!!
Select Rows programmatically:
<button (click)="this.grid.selectRows([1,2,5], true)">Select 1,2 and 5</button>
Deselect Rows programmatically:
<button (click)="this.grid.deselectRows([1,2,5])">Deselect 1,2 and 5</button>
Source: Official documentation of igx-grid (Row Selection)
Try using (onRowSelectionChange)
Event
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.