
This is based on the concept — of passing page numbers and sorting columns and sorting order using query string parameters. Based on the concept — if you modify the query string/URL and assign — window. location = modifiedurl, it will hit the server with the modified URL. We alter page numbers and sort columns in URL using JavaScript and JQuery.
You can copy the large JavaScript code here to a new JS file and refer to it.
Put the below in a separate JavaScript file.
If $.urlParam = function (name) in the below code is not working, put this function code in the named function.
![Pagin]()
![Grid]()