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?
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!