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:
grid.setSortColumn("myColId",true); //columnId, ascending
You can also set multiple with setSortColumn*s*