+ Start a Discussion

Pagination not working with sorting!!!!!!!!!!!


Using the below post I was able to sort the dataTable but I am not able to implement the pagination. If I am using the standardsetcontroller, it is throwing an error. Did anyone implement pagination as well after sorting the dataTable. If yes, could you please share your code or give some ideas how to implement pagination along with sorting.




Thanks in advance.

Best Answer chosen by Admin (Salesforce Developers) 

I figured out another way. I have added a scroll bar to the datatable using<DIV> and able to scroll through the records.