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
matsonjmatsonj 

Sorting tables - maybe a noob question?

I'm trying to trigger a sort when the page is generated as I am pulling data into a pdf, and need it sorted by the date column. Any tips? I am using PageBlockTable. All of the examples I see use apex:CommandLink but I want to sort when the pdf is generated. I'm using the sorting algorithm from here - http://wiki.developerforce.com/page/Sorting_Tables

cloudmaniacloudmania

try to put sort action at visualforce action attribute.