Closed rschroeder closed 10 years ago
Just basing this off the datatables config:
viewModel.config = {
order: [[ 2, "desc" ]]
};
I'm thinking for local datasource you could also just specify the property name instead of the index.
viewModel.config = {
order: [[ "firstName", "desc" ]]
};
I think the datatables parser requires the index which you don't know until after the first load, right?
Ahh I think you are correct.
should this be a config setting? Do you have a proposed structure?