You need to sign in to do that
Don't have an account?
ShuchiM
Visualforce List Views picklist
I want to display the list view filter picklist that shows up at the top of a case. Its the one that lets u select your list view filters. e.g, All cases, All Open Cases, etc.
How can i get that to display in visualforce?
Regards
Shuchi
<apex:page sidebar="false" controller="Listviewclass">
<apex:form >
Enter Dept: <apex:inputtext value="{!deptname}"/>
<apex:commandButton value="SAVE" action="{!dosave}"/>
</apex:form>
<apex:listViews type="Department__c"/>
</apex:page>
class:
===========
public with sharing class Listviewclass {
public PageReference dosave() {
Department__c objDept = new Department__c();
objDept.name=deptname;
insert objDept;
return null;
}
public String deptname { get; set; }
}
Can i just have the picklist values instead? When i add <apex:ListViews type="Case"/>, i get the entire table with the drop down.
Hi
Did you get the solution for your problem.
If possible can you please share the code.
Thank you
suja
couldn't use ListViews to just display a portion of it. I had to create a
custom Visualforce page for it. Try getListViewOptions() method.
--
Regards
Shuchi