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
sravusravu 

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

Hi,

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.

 

http://boards.developerforce.com/t5/Visualforce-Development/How-To-Sort-Tables/m-p/122987

 

Thanks in advance.

Best Answer chosen by Admin (Salesforce Developers) 
sravusravu

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