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
SimrinSimrin 

apex:pageBlockTable | standardController | custom object

<apex:page standardController="Account">

    <apex:pageBlock title="My Content">

        <apex:pageBlockTable value="{!account.Contacts}" var="item">

            <apex:column value="{!item.name}"/> 

        </apex:pageBlockTable> 

    </apex:pageBlock> 

</apex:page>

What do i need to do if i need to use other custom object Object__C.

I do not not understand, if i can realize this without a controller or I will always need a controller
Best Answer chosen by Simrin
Mudasir WaniMudasir Wani
Hey Simrin,

If you need to use the Account as well then you may require an extension.
Extension is also a controller.
If account is not needed then you can use your custom object as your standardController

Let me know if you have any question.

Donot forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help