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
6262 

regarding <apex:pageBlockTable>

Can we provide our own values(not sObjects values) to "value" attribute in <apex:pageBlockTable> ?

Devendra@SFDCDevendra@SFDC

 

Hi,

 

I am not sure what you are looking for.

 

But,

 

Value and Var are the required attributes in <apex:pageBlockTable> tag., where type of value is "object". It means <apex:pageBlockTable> always looks for the list which belongs to object.

 

valueObjectThe collection of data displayed in the page block table.Yes 12.0global
varStringThe name of the variable that represents one element in the collection of data specified by the value attribute. You can then use this variable to display the element itself in the body of the pageBlockTable component tag.Yes 12.0global

 

Hope this helps.

 

Thanks,

Devendra

 

 

b-Forceb-Force

yes,

By using suitable wrapper class combination , you can pass non sObject to Apex:pageblocktable

 

Regards,

bForce