Closed SYS64738 closed 10 months ago
There are two ways to achieve
use the rowSelected
prop
<mtx-grid [rowSelected]="rowSelected"></mtx-grid>
rowSelected = EXAMPLE_DATA.slice(2, 3);
use the CDK SelectionModel
@ViewChild('grid') grid: MtxGrid;
this.grid.rowSelection.select(...);
this.grid.rowSelection.deselect(...);
this.grid.rowSelection.clear();
this.grid.rowSelection.toggle(...);
Hi, there's a way to preserve rows checkbox selection when data comes from remote (http) after page navigation ? I cannot find a way to check programmatically a row.
Thank you for your support.