PDA

View Full Version : Change Ext.form.field.Date to show only months



ssamuel68
12 Jun 2012, 12:05 PM
Hi, i have a Ext.form.field.Date, is possible to change the selecction to show only month?

Thx.
Sam

wzl002
12 Jun 2012, 7:26 PM
Try this:

http://www.sencha.com/forum/showthread.php?219467-Ext.ux.form.MonthField&p=830859#post830859

wzl002
12 Jun 2012, 7:27 PM
try this:
http://www.sencha.com/forum/showthread.php?219467-Ext.ux.form.MonthField&p=830859#post830859 (http://www.sencha.com/forum/showthread.php?219467-Ext.ux.form.MonthField&p=830859#post830859)

ssamuel68
13 Jun 2012, 11:11 AM
Doesnt work for my, i tried this for testing:

var monthPicker = Ext.create('Ext.panel.Panel',{
items: [ {xtype: 'monthfield'}]
});

But it hangs when try to load the js =(