jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput Problem with firstDay

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  cosostones 11 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Problem with firstDay #25990

    cosostones
    Participant

    Hello,

    I globalized the dateTimeInput and I specified the ‘firstDay’ to ‘1’ and I noticed a problem :

    When I instanciate the dateTimeInput directly with the culture property, everything works.

    But when I specified the culture property after the instanciation, the property ‘firstDay’ is ignored. Indeed I use a dateTimeInput in a jqxGrid and I specified the culture in the ‘createeditor’ method (after instanciation), it doesn’t work.

    I hosted a sample : http://sdrv.ms/15uRH1A

    Regards.

    Problem with firstDay #25995

    Peter Stoev
    Keymaster

    Hi cosostones,

    The DateTimeInput in the Grid is localized by the Grid as shown in our Grid Localization demo.

    Best Regards,
    Peter Stoev

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

    Problem with firstDay #25996

    cosostones
    Participant

    Ok but the problem is still here when I use a dateTimeInput out of the grid.
    Moreover my grid is localized and it doesn’t work either.

    Regards.

    Problem with firstDay #25998

    Peter Stoev
    Keymaster

    Hi cosostones,

    The firstDayOfWeek property sets the first day of the week. If you want to change the first day, then you should use that property.

    Best Regards,
    Peter Stoev

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

    Problem with firstDay #26002

    cosostones
    Participant

    I tried that property and it works but I don’t understand why I should specify twice this behavior (firstDay in globalization and firstDayOfWeek in the datTimeInput).

    Regards.

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

You must be logged in to reply to this topic.