• pgleonard
  • NEWBIE
  • 5 Points
  • Member since 2014
  • Application Developer II

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

Hi i have created a one visual force page whic is rendering as PDF.

In this one table is rendering dynamicaly(not a apextable). I want to show table row in alterante color. i found some line of code which used JQuery, this works fine when i render as html but now when , i render it as 'PDF'

 

$(document).ready( function(){

$("#myTable tbody tr:visible:even",this).css('background-color','#fffffe');
$("#myTable tbody tr:visible:odd",this).css('background-color','#e0dfde');
}
)

 

Please tell solution ASAP.

Hi ,

 

I am new to VF and Apex Development and creating a sample application .

My requirements are as below .

 

- have to create a simple flight booking application where the user will select Source and Destination from the picklists on the VF page .

 

- Based on the user's selection , a SOQL needs to run on Apex Controller and return results on VF page that match the criteria.

 

- I am trying getter method but It is accepting only Custom Object data type . getting various errors .

 

Question :

 

Can I be enlighten on how picklist values be sent to controller that can be used as a string , which later can be used in a where clause !!