jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput Setting the Calendar's starting Month/Year in the DateTimeInput control

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • RyanLttax
    Participant

    Do developers have access to the jqxDateTimeInput Calendar controls’ initial Month and Year settings?

    Here is my scenario:
    In the application we are developing the user would be inputting Holiday dates into a grid far in advance of their occurrence. For example, a user’s most recent entry into this grid would be Independence Day | July 4th, 2016. Since they would be entering said dates chronologically, ideally I would be able to grab the previously entered date and then set the initial Month and Year of the jqxDateTimeInput Calendar in the new row to be August 2016. It seems to always be defaulted to the current Month/Year causing them to click quite a bit to get to the desired section of the Calendar.

    I’m already aware that:
    A) The user can enter the desired date using the keyboard.
    B) It’s possible to set the actual date according to the previously selected date.

    However, we were hoping for a more “predictive” Calendar interface if we had access to these settings.


    Peter Stoev
    Keymaster

    Hi RyanLttax,

    The Month and Year displayed in the Calendar of jqxDateTimeInput depend only on the widget’s current value. This means that if you want to set current month/year, set the jqxDateTimeInput’s value by using its “value” property or “setDate” method.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.