This topic contains 2 replies, has 2 voices, and was last updated by gruppenhaus 11 years ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › General Discussions › Editors › Calendar › Select start date
Tagged: calendar, datetimeinput, javascript calendar, jQuery Calendar, jquery calendar control, jquery date picker, jqwidgets calendar widget, jqwidgets date picker
This topic contains 2 replies, has 2 voices, and was last updated by gruppenhaus 11 years ago.
Hi,
I would like to set the ‘start’ date of a Calender on myself.
Using $(‘#jqxWidgetdatesel’).jqxDateTimeInput(‘setDate’, new Date(1995, 10, 13));
won’t effect anything. Even the INPUT is empty (no preselection in the input field).
My goal is to have the empty input and when the user clicks the first time on the icon for the calender it should show a selected date (e.g. 1995,10,13)
Am I doin something wrong?
Regards
Chris
Code:
$(“#jqxWidgetdatesel”).jqxDateTimeInput({
width: 100, height: 23,
animationType:’fade’,
formatString:’dd.MM.yyyy’,
rowHeaderWidth: 25, showWeekNumbers: true,
enableBrowserBoundsDetection: true,
culture: ‘de-DE’
});
Hi Chris,
It’s not possible to have Empty Input and Selected Date at the same time. Empty Input means that the current date is NULL. If you want to select date, you should use the “setDate” method which will display the selected date in the Input, too. Example: http://jsfiddle.net/Lc6qow1x/
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com/
Hi Peter
Thanks. But for my goal it’s important to choose another date from another month and year. Please think about it as a future feature. Right now I do not have any idea for a work around.
Thanks
Chris
You must be logged in to reply to this topic.