I am having trouble with what i think comes basically for free with knockout.
I have a foreach loop, done in knock out, which creates table rows.
Outside of this loop i have the table header, and i want to make the column headers trigger a client side sort.
I have seen the observable array function sort() but i cant seem to get it firing. Following up, is it hard to do ascending / descending sorts?
I was able to implement it with this post. The fiddle had just what I needed, it is a good example of the bindings needed.
Knockoutjs – Sorting a large observablearray
I extended it by including a sort direction variable in my model that i toggle when sorting.