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

Sortable list with pagination

Does anybody have any slick ways to accomplish this?


My current approach is to use the out of the box pagination with a custom list controller.  When someone clicks a column, it will modify the dynamic SOQL query behind the custom list controller to order by that column's field.


It's also important  for my sortable, paginating table to handle 1000+ records.


Thanks in advance.


I probably will wind up using that, especially since I found out that out of the box pagination (querylocator) doesn't support dynamic soql :(