Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: DatePicker Refactored - Less code - more features!

  1. #1
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956

    Default DatePicker Refactored - Less code - more features!

    Sorry for more screenshots and still no code! It's getting closer though!! Everytime I think I am there I find yet another thing to tackle. My main goal is anything that will not be completely backwards compatible.... do it now. This way there's only 1 upgrade required.

    Anyway, here is the newly refactored DatePicker. Key features:

    - Full Keyboard Navigation/selection
    - Month menu
    - Can be embedded anywhere (including in a menu like in the screenshots)
    - Significantly faster moving through months
    - Arrows are ClickRepeater (cycle through months while mouse down on arrow, thanks Nige)
    - Disabled dates logic is included (not dependent on grid editor)
    - Customizable start day (defaults to sunday, but is monday in the screenshots)
    - Can be set up with a field automatically/unobtrusively (e.g. new Ext.form.DateField('some-input') converts a standard input to validated date field with picker).

    There's more, but I can't remember. I need to sleep.




  2. #2
    Sencha Premium Member
    Join Date
    Mar 2007
    Posts
    22

    Default Sweetness comes in so many flavors ....

    Sweet calendar, elegant implementation, Jack strikes again!



  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    Yep! That looks very nice. Clean features and not overwrought like the work produced by some script fiddlers!

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    4

    Default

    In looking at the current datepicker, I see that you can easily override month/day names and date format, which is great. But I don't see the ability to specify which day the week begins on -- this is the other basic requirement for properly localizing a calendar -- any chance this made it into the new version?

    Thanks for all the hard work -- this is going to be outstanding!

  5. #5
    Sencha User JeffHowden's Avatar
    Join Date
    Mar 2007
    Location
    Forest Grove, OR
    Posts
    1,038

    Default

    Quote Originally Posted by bmoeskau
    In looking at the current datepicker, I see that you can easily override month/day names and date format, which is great. But I don't see the ability to specify which day the week begins on -- this is the other basic requirement for properly localizing a calendar -- any chance this made it into the new version?
    Quote Originally Posted by jacksloc
    - Customizable start day (defaults to sunday, but is monday in the screenshots)

  6. #6
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    4

    Default

    duh I'll get this reading thing eventually.

  7. #7
    Ext User manugoel2003's Avatar
    Join Date
    Mar 2007
    Location
    New Delhi, India
    Posts
    314

    Default

    nice clean interface.... cool features.... nice work jack!!!
    Manu Goel
    manugoel2003 [at] gmail [dot] com
    http://www.linkedin.com/in/manugoel

  8. #8
    Ext User
    Join Date
    Mar 2007
    Posts
    17

    Default

    support i18n?

  9. #9
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956

    Default

    Of course. It did before as well.

  10. #10
    Sencha User HarryC's Avatar
    Join Date
    Mar 2007
    Location
    London, England
    Posts
    89

    Default

    Like everything else on the site, this looks lovely.

    I hate to suggest anything that will delay the release but is there any chance of optionally including a time picker within the calendar?

Page 1 of 3 123 LastLast

Similar Threads

  1. Help with DatePicker
    By alex1er in forum Ext 1.x: Help & Discussion
    Replies: 12
    Last Post: 2 Apr 2008, 7:14 AM
  2. DatePicker example
    By corey.gilmore in forum Community Discussion
    Replies: 19
    Last Post: 15 Nov 2007, 10:31 PM
  3. Integrating other YUI features
    By martin in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 28 Mar 2007, 12:55 AM
  4. DatePicker.js (misc)
    By corey.gilmore in forum Ext 1.x: Bugs
    Replies: 7
    Last Post: 1 Feb 2007, 4:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •