How To Set A Default Column To Sort On Page Load
How To Set A Default Column To Sort On Page Load
![dobulet302](https://secure.gravatar.com/avatar/3f19bee12e7cb8ec0cd54f5bda0e5acd/?default=https%3A%2F%2Fvanillicon.com%2F3f19bee12e7cb8ec0cd54f5bda0e5acd_200.png&rating=g&size=120)
I have gone through all the examples and I can't figure out how to set a default column to sort by. I would like to have the second column to be sorted in Desc order by default.
I have tried this but it doesn't work. I have a total of 7 column.
{ "asSorting": [ "desc", "asc", "asc" ], "aTargets": [ 2 ] },
I have tried this but it doesn't work. I have a total of 7 column.
{ "asSorting": [ "desc", "asc", "asc" ], "aTargets": [ 2 ] },
This discussion has been closed.
Replies
Allan