November 14, 2010

When Apex/jQuery UI Datepicker is not enough

Recently, I had a need for list of values that will be able to pick a week in a year.  After a few futile tries with custom SQL function, I needed to have a look at options that Jquery UI Datepicker has. That led me to a even better datepicker than the one that comes with Apex 4 -the Datepick. It turns out that our Apex/Jquery UI Datepicker is stripped down version of this fantastic picker. There are just 2 files to be incuded since  jQuery is already in:

<style type="text/css">@import "css/jquery.datepick.css";</style>
<script type="text/javascript" src="js/jquery.datepick.js"></script>


If you need all the stuff that is availabile with this picker, don't forget to also include jquery.datepick.ext.js file!