chrisjohn82 Posted June 20, 2016 Posted June 20, 2016 Hi everybody, Is it possible to change the the format on the MOBILE datepicker to example "2016 June 20" when accessing the control in runtime, can't see anywhere to change this except for the displaying the date in the control. Right now it's showing "June 23 2016". Best Regards Christian Quote
Sherzod Posted June 21, 2016 Posted June 21, 2016 Hi, For now try: UnimDatePicker->ClientEvents->UniEvents-> beforeInit fn: function beforeInit(sender, config) { config.picker = { slotOrder: [ 'year', 'month', 'day' ] } } Best regards. Quote
chrisjohn82 Posted June 21, 2016 Author Posted June 21, 2016 Works great, thank you, I also have two follow up question about the datetime picker. 1) Is it possible to change the language so the months can show in for example swedish instead of english. 2) I'm also trying to change the range for the year, i saw that there is a minYear and maxYear property but if i change minYear = 2015 and maxYear= 2050 i still get 2016 as the maxYear? Quote
chrisjohn82 Posted June 21, 2016 Author Posted June 21, 2016 I solved the language, just had to set the locale in servermodule to swedish but still can't change the Year range 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.