passing in date parameters using visualize.js

Hello,

      I'm trying to pass in start and end date using visualize.js. its seems to be almost working expect one thing. It is not taking the end date as a parameter. This is what im passing

report.params({"P_REPORT_DATE_START" : [ document.getElementById('tabView:startDate_input').value ]},{"P_REPORT_DATE_END" : [document.getElementById('tabView:endDate_input').value]}).run();

 

But when it is making a post request it is only take the start date as a parameter.

idk why this is happening it would be really helpful if someone can point me to a solution.

apekshith.ramesha's picture
Joined: Dec 12 2014 - 7:42am
Last seen: 6 years 7 months ago

i got it to work. i had to pass it like this

report.params({"P_REPORT_DATE_START" : [ document.getElementById('tabView:startDate_input').value ],
                                "P_REPORT_DATE_END" : [document.getElementById('tabView:endDate_input').value]}).run();

apekshith.ramesha - 8 years 5 months ago

0 Answers:

No answers yet
Feedback