Apr 03, 2014, 4:40 AM
[CLOSED] Month Picker in Grid
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
Rajiv Dutt
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
Last edited by Daniil; Apr 09, 2014 at 1:40 AM.
Reason: [CLOSED]