Hi Team,
I am using igx data grid, ignite 9.1.6 version and Angular 9.
Requirement: On click of search button, i want to display data grid with the checkboxes that are checked(all the rows are selected by default).
How can i achieve the above from UI?
Note: As this is an ongoing project, please reply ASAP.
Thanks
Hello Shobhana,
You can use IgxGridComponent's selectAllRows() method to select and check all rows.
https://ko.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxgridcomponent.html#selectallrows
I have created a sample for your reference. Please click 'Get data and select all rows' button to see the behavior.
https://stackblitz.com/edit/github-inafrd-fmzeac?file=src/app/grid/grid-sample-selection/grid-selection.component.ts
Please reply to this post.