PDA

View Full Version : [CLOSED] Month Picker in Grid



RajivDutt
Apr 03, 2014, 5:40 AM
Hi

I am facing one issue, when I am using month picker in Grid. If my system date is 31st March and I choose Feb as a month in Datepicker
It automatically converts it to the March. There is no way I can select feburary, if my system date is 31st March.

It seems it tries to adjust the current date in the month chosen, if it fails it falls back to the current month or so.
I am not sure, if its a bug with control.

Given is the code, I am using in IE9 - Ext.net 2.2 - Win7 OS




EXT.DateField().ID("myDate")
.Cls("date-field-black").StyleSpec("margin-right: 2px").Width(89)//.Height(89)
.Type(DatePickerType.Month).Format("m/yyyy")
.EnforceMaxLength(true).MaxLength(7)

Thanks,
Rajiv Dutt

Daniil
Apr 03, 2014, 3:42 PM
Hi @RajivDutt,

I cannot reproduce. Please provide a full sample.