1. #1
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    2
    Vote Rating
    0
    simonthoustrup is on a distinguished road

      0  

    Default Answered: Changing maxDate of Ext.menu.DatePicker

    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
    Posts
    63
    Vote Rating
    2
    Answers
    7
    Jad is on a distinguished road

      0  

    Default


    there is a function : setMaxDate(Date)

  4. #3
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    2
    Vote Rating
    0
    simonthoustrup is on a distinguished road

      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!

Thread Participants: 1

Tags for this Thread