Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi Developers,
I have a service which loads the data on mashup in gridadvanced. I have a textfield which takes searchinput so
if (searchinput !== "") {
then i run the service to get data for that input which is given in text field
}
else if (searchinput === ""){
means i have not written anything in textfield then i am just showing a complete datatable entries on grid
}
Now new requirement came that the user can select startdate enddate and get that entries on mashup. Any suggestions for best practices how can i do that? I think i have limited the existing service to run on only in two conditions. how can i expand it. any ideas or suggestions?
Solved! Go to Solution.
How do you query the data with Start Date and End Date?
if (searchinput !== "") {
Query the data with the filter "searchinput", "Start Date" and "End Date"
}
else if (searchinput === ""){
Query the data with "Start Date" and "End Date" only
}