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
Vignesh S 30Vignesh S 30 

how to add column name dynamically and bind value according to it

Rahul Chaudhary OfficialRahul Chaudhary Official
Hello Vignesh, Can you please elaborate your problem?
Vignesh S 30Vignesh S 30
i used page block table and also i have to generate column header value and column value dynamicallyUser-added image
i don't know exact amount of column then how i can do it
Rahul Chaudhary OfficialRahul Chaudhary Official
Yes it is doable, Populate label and values in a Map then you can do this with iterator apex:repeat in visualforce page.
Vignesh S 30Vignesh S 30
can you please give me some example program..may be it is useful...thanku in advance