I would like to modify the jqueryui datepicker in nuBuilder so that it will...
"Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes."
http://jqueryui.com/datepicker/#dropdown-month-year
Thanks,
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Modify jqueryui datepicker
-
- Posts: 31
- Joined: Fri Mar 14, 2014 6:14 pm
Modify jqueryui datepicker
You do not have the required permissions to view the files attached to this post.
-
- Posts: 31
- Joined: Fri Mar 14, 2014 6:14 pm
Re: Modify jqueryui datepicker
I modified the following lines in nuBuilderPro/nueditform.js and got the datepicker to show the month/year dropdowns
Code: Select all
...
if(o[i].is_date && o[i].read_only != '1'){
$( "#"+e.id).datepicker({
changeMonth: true,
changeYear: true,
dateFormat: nuFormats[o[i].format].jquery
});
}
...
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact: