function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SHAIK MOHAMMAD YASEENSHAIK MOHAMMAD YASEEN 

Need to implement pagination with jquery table

Hi All,

Can you please help me with any sample code which will display records of account object on vfpage with pagination jquery grid(http://js-grid.com/demos/) having below options.
*sorting
*filtering
*with pagination buttons and page numbers

In the above i am having a controller will get the list of accounts(AccList) in constructor, i have to display 20 records per page. each next button of page number is clicked it should not go to controller all the processing should be done in jquery itself.

Please let me know if any possibility for the above. please refer the link for clear idea "http://js-grid.com/demos/"
Thanks in advance,
Mohammad Yaseen
 
Best Answer chosen by SHAIK MOHAMMAD YASEEN
James LoghryJames Loghry
You should take a look at jQuery data tables instead, which has all the above. 

Here's a link to the data tables docs: https://datatables.net/

And  here's a link to a tutorial implemention data tables in Visualforce: https://www.verticalcoder.com/2014/11/21/datatables-in-visualforce-part-1/

All Answers

James LoghryJames Loghry
You should take a look at jQuery data tables instead, which has all the above. 

Here's a link to the data tables docs: https://datatables.net/

And  here's a link to a tutorial implemention data tables in Visualforce: https://www.verticalcoder.com/2014/11/21/datatables-in-visualforce-part-1/
This was selected as the best answer
SHAIK MOHAMMAD YASEENSHAIK MOHAMMAD YASEEN
@James Loghry thanks for your help it helped me