SlickGrid: deselect all rows in

How can I deselect all rows in a Slick grid?

I am using RowSelectionModel and cannot find a way to do this.

thanks

+8
slickgrid
source share
2 answers
grid.getSelectionModel().setSelectedRanges([]); 
+5
source share

Old question, but it worked for me:

 grid.setSelectedRows([]); 

In the official API

+8
source share

All Articles