Results 1 to 3 of 3

Thread: Changing maxDate of Ext.menu.DatePicker

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default Answered: Changing maxDate of Ext.menu.DatePicker

    If I set the maxDate config option when I create an Ext.menu.DatePicker object everything works as expected.
    But how do I change this maxDate value dynamicly? As stated in the API, applying configuration options to 'this' doesn't change the behaviour of the object. So how do one change the value dynamicly?

  2. there is a function : setMaxDate(Date)

  3. #2
    Sencha User Jad's Avatar
    Join Date
    Feb 2012
    Location
    annecy france / geneve suisse
    Posts
    126
    Answers
    12
    Vote Rating
    3
      0  

    Default

    there is a function : setMaxDate(Date)

  4. #3
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Ahh - yes. And the last detail I was missing was that this function of course applies to the object denoted by the pickerId property and not the id property of the Ext.menu.DatePicker object.
    Thanks!

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
  •