Home › Forums › Guriddo jqGrid JS › Discussion › Problem in sorting on client side
Hi,
I want to implement sorting on client side.
I have included loadonce true & also tried things that I found on web but none of them working for me.
Here is my code
Here is the data grid is recieving.
{“page”:1,”total”:0,”records”:2,”rows”:[{“id”:1,”cell”:[“1″,”Basic”,”Basic Free Package”,”0″,”yes”,”Edit”]},{“id”:2,”cell”:[“2″,”Gold”,”Gold”,”1000″,”yes”,”Edit”]}]}
I sorted out it myself.
It was just the problem with the index property of colModel,Index was suppose to be 'pid' instead of 'ID'.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS