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
chriscwharrischriscwharris 

View Filter changed on the fly using drop down?

Is it possible to have a view where the filter is controlled on the fly using a drop down? As an example, say I have a list of records that have "State" as a field, I want a view of records where I can select a different State and the view filters showing only that State without creating 50 views, one for each state.
SonamSonam (Salesforce Developers) 
If you are looking at Out of box functionality, I don't think such a functionality exists.However, this could be possible through apex code:

Something similar:
https://developer.salesforce.com/forums/?id=906F000000099SnIAI
http://stackoverflow.com/questions/19716460/on-salesforce-com-can-you-filter-an-apexpageblocktable-by-recordtype