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
Srinivas NimmagaddaSrinivas Nimmagadda 

How to write drop down list view in my custom Visual force page

Hi ,
I am new to VF programming. And I am trying to create a duplicate version of ACCOUT object page in my custom Visualforce Page.

My question is: How can I create a list view drop down in my VF page. like how we have in Accounts page as shown below.

List View VF page
Best Answer chosen by Srinivas Nimmagadda
Srinivas NimmagaddaSrinivas Nimmagadda
I figured it out.
Used
<apex:selectList>
    <apex:selectOption itemLabel ="All Accounts" itemValue = "" id="AA" > </apex:selectOption>
    <apex:selectOption itemLabel ="My Accounts" itemValue = "" id="MA" > </apex:selectOption>
    <apex:selectOption itemLabel ="Accounts Modified Today" itemValue = "" id="AM" > </apex:selectOption>
    <apex:selectOption itemLabel ="Accounts Created Today" itemValue = "" id="AC" > </apex:selectOption>
</apex:selectList>