Hello Syncfusion team,
I am developing an angular grid that also contains a checkbox-typed column. To initialize these checkboxes I am using a localStorage variable that saves the IDs of the rows that should be checked. So I get the IDs and update the according cells by calling:
this.gridObj.setCellValue(filterIndices[i], "selected", true);
Now, the problem is that - if I allow paging - the setCellValue() method will not work for the grid data outside the current view, although this data needs to be set as well.
To avoid this, I set the pageSize according to the dataSource length, but this is not a satisfactory solution since it should also be possible to add data, change page settings etc.
Alternatively, I tried to directly change the this.gridObj.dataSource by calling:
this.gridObj.dataSource[i].selected = false;
That again does not tick the checkbox.
So my question is: Is there a way to set the wanted checkboxes and tick them, although they are not in the current view.
Thanks in advance!
Jonas Czeslik