DatePicker doesn't seem to recognise the data-format configuration option

2 posts, 0 answers
  1. Vaughan
    Vaughan avatar
    3 posts
    Member since:
    Dec 2011

    Posted 21 Mar 2012 Link to this post


    I'm trying to use declarative widget initialization, but setting the date format of a DatePicker doesn't seem to have any effect.

    I would have expected the following would work:
    <div id="container">   
      <input data-role="datepicker" data-format="yyyy/MM/dd"></select>
    </div>             
    <script>
      $(document).ready(function () {
        kendo.init($("#container"));
      });
    </script>

    Regards,
    Vaughan.
  2. Vaughan
    Vaughan avatar
    3 posts
    Member since:
    Dec 2011

    Posted 22 Mar 2012 Link to this post


    Never mind, it now works fine the 2012.1 322 release. :)

    Cheers,
    Vaughan.
Back to Top