I'm using Sencha Architect (Ext.menu.DatePicker). But I have a problem with getters and setters.
This is my datepicker:
And later to get value I'm using .getValue() function:
But firebug says: 'TypeError: Ext.getCmp(...).getValue is not a function'
This is my datepicker:
Code:
{ xtype: 'datemenu', floating: false, height: 242, id: 'calendarT', width: 241 }
And later to get value I'm using .getValue() function:
Code:
console.log(Ext.getCmp('calendarT').getValue());
But firebug says: 'TypeError: Ext.getCmp(...).getValue is not a function'
With set is the same problem.
Any solution?
Thanks for all, Ivan.
Aucun commentaire:
Enregistrer un commentaire