jQWidgets Forums

jQuery UI Widgets Forums Editors Calendar Select start date

This topic contains 2 replies, has 2 voices, and was last updated by  gruppenhaus 10 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Select start date #63164

    gruppenhaus
    Participant

    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’
    });

    Select start date #63172

    Peter Stoev
    Keymaster

    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/

    Select start date #63179

    gruppenhaus
    Participant

    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

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.