Skip to main content
Kishore Talari (Cognizant) 님이 #Visualforce에 질문했습니다
I want to display more than 1000 account names in one picklist using select option.

<apex:selectList value="{!myAccountspicklist}" >

<apex:selectOptions value="{!myaccounts}"/>

  </apex:selectList>

public List<Account> getMyaccounts(){

        List<Account> lstAccount = [select id,name from account];

        return lstAccount;

    }
답변 2개
  1. 2019년 10월 11일 오전 10:43
    I want to display more than 1000 account name in one picklist field using selectOption. Earlyer I am able to display 20 name using above code but after inserting more than 1k it is throwing error.