Export to GitHub

jquery-datepicker - issue #379

upon changing month/year drop down date field turns to non edit mode


Posted on Apr 1, 2014 by Happy Horse

What steps will reproduce the problem?

1 : implement jqgrid with one field ad date and allow only future date and alledit as true.

code snippet:

{ name: 'ExpireDate', align: "center", index: 'ExpireDate', width: 105, sorttype: "date", formatter: 'date', edittype: 'text', editable: true, editoptions: { dataInit: function (el) { $(el).datepicker({ minDate: 0, changeYear: true }); }, dataEvents: [ { type: 'keydown', fn: function (e) { e.preventDefault(); } }]

                    }

click on respective date cell, datepicker will open , now change month/yr, now observe that date cell will be turned to NON EDIT Mode.

Error:

Unhandled exception at line 166, column 225 in http://localhost:34827/Scripts/JQGrid/js/jquery.jqGrid.min.js

0x80070057 - JavaScript runtime error: Invalid argument.

What is the expected output? What do you see instead? Upon changing month/yr in dropdown, respective date field should say in EDIT MOde only

Please provide a URL to a page displaying the problem.

What version of the datepicker are you using? On what operating system? And Which Browser? Win7 64 bit / IE9 and FF

Please provide any additional information below.

Comment #1

Posted on Apr 2, 2014 by Happy Giraffe

https://code.google.com/p/jquery-datepicker/wiki/NotTheUIDatePicker

Status: Invalid

Labels:
Type-Defect Priority-Medium