planetapex / apex-plugin-dynamicDateTimePicker

Oracle Apex Plugin Dynamic Date Time Picker
https://github.com/planetapex
MIT License
7 stars 4 forks source link

Submit to page on change #2

Closed ragerdl closed 6 years ago

ragerdl commented 6 years ago

Neat plugin! Is there a way to submit the chosen value to the page and then cause a refresh? Similar to what can be done with the built-in DatePicker?

I was able to make the chosen value persistent across page loads by setting the Item's source to itself (via a matching label) and making it always used. But, I have some other fields on the same page that need to be updated anytime the DateTimePicker Field's value is updated.

ragerdl commented 6 years ago

As a work-around, I've created a button that submits to the page on clicking, labeled something akin to "refresh other fields".

ragerdl commented 6 years ago

I figured out the way it's really supposed to be done, in a manner that's similar to the modern ajax-based approach. Closing for now.

ragerdl commented 6 years ago

Documented the ajax-like solution at stackoverflow: https://stackoverflow.com/questions/48588681/update-chart-after-changing-a-field