• N@ypers
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies

Hi, I'm creating a VF page, and I need to add 'filters' in a pageBlockTable, but I'm not using standarcontroller. Is possible to have filters in this case as shown in the image?

 

Please Help!

 

filters

 

I have something like this:

<< Visual Force >>

<apex:pageBlockTable value='{!myObjectOpportunities}' var='opp'>

 

<apex:column headerValue='Opportunity Name'>
<apex:outputText value='{!opp.name}' />
</apex:column>

 

<apex:column headerValue='Stage'>
<apex:outputText value='{!opp.stageName}' />
</apex:column>

 

<apex:column headerValue='Probability'>
<apex:outputText value='{!opp.Probability} %' />
</apex:column>

 

<apex:column headerValue='Close Date'>
<apex:outputText value='{!opp.closeDate}'/>
</apex:column>

 

</apex:pageBlockTable>

 

<< Class >>


public Opportunity[] getMyObjectOpportunities() {


List<Opportunity> itemsOpportunities;


itemsOpportunities = [ SELECT o.Name, o.stageName, o.closeDate,o.Id, o.Probability FROM Opportunity o WHERE CreatedById =: getUserId() ];

return itemsOpportunities ;
}

 

Hi, I'm creating a VF page, and I need to add "help text" in a fields, but I'm not using standarcontroller, what can I do? 

 

Please Help!

Hi, I'm creating a VF page, and I need to add 'filters' in a pageBlockTable, but I'm not using standarcontroller. Is possible to have filters in this case as shown in the image?

 

Please Help!

 

filters

 

I have something like this:

<< Visual Force >>

<apex:pageBlockTable value='{!myObjectOpportunities}' var='opp'>

 

<apex:column headerValue='Opportunity Name'>
<apex:outputText value='{!opp.name}' />
</apex:column>

 

<apex:column headerValue='Stage'>
<apex:outputText value='{!opp.stageName}' />
</apex:column>

 

<apex:column headerValue='Probability'>
<apex:outputText value='{!opp.Probability} %' />
</apex:column>

 

<apex:column headerValue='Close Date'>
<apex:outputText value='{!opp.closeDate}'/>
</apex:column>

 

</apex:pageBlockTable>

 

<< Class >>


public Opportunity[] getMyObjectOpportunities() {


List<Opportunity> itemsOpportunities;


itemsOpportunities = [ SELECT o.Name, o.stageName, o.closeDate,o.Id, o.Probability FROM Opportunity o WHERE CreatedById =: getUserId() ];

return itemsOpportunities ;
}

 

Hi, I'm creating a VF page, and I need to add "help text" in a fields, but I'm not using standarcontroller, what can I do? 

 

Please Help!