Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to override modern DatePicker

  1. #1

    Default How to override modern DatePicker

    In ExtJs 6.2.0 modern toolkit, the DatePicker is quite strange - it has three slots (day, month, year). But I really need to know the day of week for each date, like in normal datepickers.

    How can I override existing DatePicker to highlight weekends or to write day of week somewhere near the day number?

  2. #2
    Sencha User
    Join Date
    Feb 2015
    Posts
    6

    Default

    I would like to know the same thing; specifically when using Sencha Architect 4.2 The Ext JS 6.2 Modern framework's date picker is not ideal. Have you managed to find an alternative, shirogane_yuu?

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890
    Answers
    41

    Default

    That's the touch device standard - just look at an iPhone. A scrolling drum kind of thing.

    In 6.5, that's only used on phones due to limited screen space. All other platforms use the regular date picker.

  4. #4
    Sencha User
    Join Date
    Feb 2015
    Posts
    6

    Default

    Thanks for your reply, Animal.

    We are developing an application that needs to be displayed on both touch devices as well as desktops/laptops (which will be the dominant platform used for this application). Our client needs to see the day of the week when selecting their date range...

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890
    Answers
    41

    Default

    6.5.2 is what you need then.

  6. #6
    Sencha User
    Join Date
    Feb 2015
    Posts
    6

    Default

    Our application has already been built in 6.2.1 - we are now moving onto phase 2 whereby the date picker is a new feature/request. We've already tried to upgrade our project to 6.5, which resulted in our application's components no longer displaying, and it is simply not viable for us to rewrite the entire application to ensure compatibility with 6.5.

  7. #7
    Sencha User
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890
    Answers
    41

    Default

    There is no date picker widget in 6.2.

    "no longer displaying" and giving up is not an option. It's probably a small configuration change. "rewrite the entire application". That's a bit melodramatic don't you think?

  8. #8
    Sencha User
    Join Date
    Feb 2015
    Posts
    6

    Default

    When spending a significant amount of time trying to "fix" a project that was merely upgraded to a newer framework, sometimes a rewrite seems to be the only option. Will be tackling the upgrade once again. Thanks for the replies, Animal.
    Last edited by NikkiSW; 12 Oct 2017 at 3:46 AM. Reason: Typo

  9. #9
    Sencha User
    Join Date
    Feb 2015
    Posts
    6

    Default

    Quote Originally Posted by Animal View Post
    There is no date picker widget in 6.2.

    "no longer displaying" and giving up is not an option. It's probably a small configuration change. "rewrite the entire application". That's a bit melodramatic don't you think?
    Well isn't this just great; a response from your support team: Unfortunately, Sencha Architect does not support ExtJS 6.5.2 at this time.

  10. #10
    Sencha User
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890
    Answers
    41

    Default

    I'm not their support team.

    I'm helping to answer questions because I feel sorry for Sencha, because they are quite obviously floundering right now, with absolutely no clue what they are doing.

Page 1 of 2 12 LastLast

Similar Threads

  1. [OPEN] ExtJS 6.0.2.408 - Modern - Datepicker wrong selection
    By Lukappa in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 23 Mar 2016, 6:01 AM
  2. [MODERN] DatePicker slots skewed on show
    By msweltzdk in forum Ext JS 6.x Q&A
    Replies: 4
    Last Post: 21 Dec 2015, 4:12 AM
  3. [OPEN] DatePicker in modern does not behave like it used to in touch
    By cbchenoweth in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 3 Dec 2015, 10:49 AM
  4. Ext.field.DatePicker for 6x Modern
    By nak1 in forum Ext JS 6.x Q&A
    Replies: 4
    Last Post: 2 Dec 2015, 10:56 AM
  5. override datepicker
    By edolillo in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 2 Aug 2011, 2:48 PM

Tags for this Thread

Posting Permissions

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