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
Faizan Ali 17Faizan Ali 17 

Can someone help guide me in creating the table? I am new to visualforce and trying to implement this table however I cannot achieve it at all.

Table example
I am trying to create this sort of table in a custom visualforce page. I would like to get the data from Contacts object and place in a row along the top (as you can see in the picture) and I am trying to display the time on the left of the table. Is there any way to implement this using VF? I am struggling to achieve this.
AbhishekAbhishek (Salesforce Developers) 
Your query is answered in the below blog,

https://opfocus.com/how-to-sort-a-custom-product-table-with-visualforce/

Try the code snippet for your requirement.


For further reference, you can check this too,

https://salesforce.stackexchange.com/questions/94061/sorting-a-pageblocktable-on-a-vf-page

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Regards,
Salesforce Support.