jQuery UI Widgets Forums Editors Calendar restrictedDate format

This topic contains 2 replies, has 2 voices, and was last updated by  Hristo 9 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • restrictedDate format #78529

    Shreyansh
    Participant

    Hi,

    Q1. I am getting date from a json object that are right now YYYY/MM/DD format, however the format can be change later. But can you please assist me that how I can pass this time format in restrictedDate property?

    Q2. I also wants to change CSS for the restrictedDate, it would be great if you can assist me with this too.

    restrictedDate format #78533

    Shreyansh
    Participant

    Hi again,

    Q2 is solved for me: I just needed to add this CSS Class in my jqx.base.css file.

    .jqx-calendar-cell-restrictedDate {
    background-color: rgba(251, 132, 153, 1);
    border: 1px solid #fff;
    margin: 0 0 0 0;
    cursor: pointer;
    }

    Now can you please answer the Q1 for me? I need to use YYYY/MM/DD formatted date as restricted date parameter.

    restrictedDate format #78539

    Hristo
    Participant

    Hello Shreyansh,

    Please take a look this example: http://jsfiddle.net/hristoxux/ew5yotyv/
    In CSS section could see about class who selected this restrictedDate. (such you wrote above)

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.