You need to sign in to do that
Don't have an account?
Enrico dev
Show Size of list visual force
This is my VF page:
How can i accomplish this?
Thanks in adavantage for any advice
<apex:page standardController="Account"> <apex:relatedList list="Contacts" /> </apex:page>I would like to show number of records in the related list. I´ve tried, without success, with:
{!Account.Contacts.size}
How can i accomplish this?
Thanks in adavantage for any advice
I have done it in a controller extension (using a property) but i would like to avoid the query to get number of records (or list of contacts to apply size() method). Is there a way to do calculate number directly in the vf page having just the list?