Results 1 to 2 of 2

Thread: DatePicker event to detect change in Year/Month

  1. #1

    Default DatePicker event to detect change in Year/Month

    Hi,

    I am using the datefield in my project. There is a requirement to disable all company holidays in the calendar (Thanksgiving, Jul4th etc). I need to do this for the current year for which the calendar shows in the picker. So if I keep pressing the > arrow and move into 2017, it should have the holidays for 2017 disabled.

    I have got that part working just fine for the current year. However, to do this for future years I want to be able to track the change in year if the user is clicking Next arrow. How can I do that?


    Thanks!

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Here's a thread discussing some solutions that might help.
    https://www.sencha.com/forum/showthread.php?157863

Similar Threads

  1. Replies: 2
    Last Post: 1 Mar 2013, 1:42 AM
  2. Replies: 1
    Last Post: 11 May 2012, 9:33 AM
  3. datePicker month and year only
    By WBarnie in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 24 Feb 2011, 3:31 AM
  4. Datepicker set value when year/month changes
    By gxt in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 11 Nov 2008, 6:27 AM

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
  •