I’m using SlickGrid with DataView and I’m trying to set a default sort column on my table. Is there a way to trigger the sort or set an option so the column is sorted on load?
Advertisement
Answer
On the latest version you could do this:
JavaScript
x
2
1
grid.setSortColumn("myColId",true); //columnId, ascending
2
You can also set multiple with setSortColumn*s*