rgomesf
rgomesf

Reputation: 714

SlickGrid: unselect all rows in

How can I unselect all rows in a Slick Grid?

I'm using RowSelectionModel and can't find a way to do it.

Thanks

Upvotes: 8

Views: 7925

Answers (2)

madth3
madth3

Reputation: 7344

Old question, but this worked for me:

grid.setSelectedRows([]);

From the official API

Upvotes: 8

Tin
Tin

Reputation: 9082

grid.getSelectionModel().setSelectedRanges([]);

Upvotes: 5

Related Questions