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

Apex:PageBlockTable attribute




I wold like to create a table in PDF formatted this way. What attribute do I use to space the varying length of the columns.I am not sure if the below format is clear. I would like to have varying column lenghths. how to acheive this?


Heading1            Heading4                                                                             Heading5




                            Heading6                          Heading7




                            Heading8              Heading9                     Heading10





Try using columnsWidth property of pageBlockTable. You can pass different widths for each column as a comma seprated value.


Check the documentation for this tag in here, yourorgurl/apexpages/apexcomponents.apexp.

Its a very usefull link it has all apex tags documentation