| jQuery datepicker |
|
|
|
| Monday, 23 November 2009 23:16 |
|
Oracle's native datepicker is extremely primative and is in urgent need of an update. I do not like the fact that it pops up a new window, which in my experience can easily be lost behind other windows and forgotten about. Luckily there is a better solution out there, in the form of a jQuery datepicker. This does not require a new window and also does not require much to integrate into an APEX application. Here is a short guide on how to integrate jQuery datepicker into APEX.
Once the file has been downloaded, upload the script to the application images and include the script in your application. This is done in the same as the core jQuery file.
Once these files are uploaded to the shared components > images, use the following code to include the css in your application Before creating the datepicker field in the app we must define how jQuery will attach the datepicker functionality to items on our screen. This can be done on an item by item basis but for simplicity i will assign the functionality to all items with the class of "datepicker" Finally create an item with a type of "text" and assign it a class of datepicker now when you run the page you should have a date field with a datepicker popup that is infinitly nicer than the in built Oracle datepicker
view example here |
| Last Updated on Monday, 23 November 2009 23:23 |