neha.angel.sweet Posted May 4, 2016 Share Posted May 4, 2016 Hi All,I have one input control Date Range (Single select list of Values), which have previous day, last 7 days and date range in drop down.if i select previous day, it will show data of previous day, if i select last 7 days, it will show data for last 7 days. but f i select date range it should show me 2 more input control, start date and end date, from where i can select dates.Please let me know how we can achieve this in jasper server.- Neha Link to comment Share on other sites More sharing options...
kkriplani Posted May 4, 2016 Share Posted May 4, 2016 Hi,These come as an additional customization.You can write a jquery/jsp code in a file within the scripts folder of jasperserver-pro and call them during run time in the dashboardViewer.jspRegards,KKriplani Link to comment Share on other sites More sharing options...
neha.angel.sweet Posted May 5, 2016 Author Share Posted May 5, 2016 Thanks for ur response KKriplani. Can u plz tell me the specific code what i need to write and where.. i am not good in jquery/jsp code.Regards,Neha Link to comment Share on other sites More sharing options...
kkriplani Posted May 5, 2016 Share Posted May 5, 2016 I can't really give the specific code but you will have to show and hide the input control based on their id.use something like explained in this link.Regards,KKriplani Link to comment Share on other sites More sharing options...
neha.angel.sweet Posted June 10, 2016 Author Share Posted June 10, 2016 i resolved this issue. for this we need to if else function in js. Link to comment Share on other sites More sharing options...
iscoscar Posted September 26, 2016 Share Posted September 26, 2016 Hi @neha.angel.sweetI need to add exactly the same feature to my reports... could you post an example how did you solved?? Thaks a lot in advance Link to comment Share on other sites More sharing options...
horseman Posted November 21, 2016 Share Posted November 21, 2016 Hi neha.angel.sweet,I am also interested in your solution, could you post your solution please ?Thanx in advance Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now