ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Date Calendar widget fails to appear on IE11

Open pmariduena opened this issue 12 years ago • 5 comments

When I click on a cell in ui-grid (one representing a proper JavaScript Date), it's not popping up the default calendar date choosing widget during edit, but it properly does so on Chrome.

In bug 2055 I was instructed to properly convert incoming JSON data into a JS Date in the success callback like so:

$http.get('/data/500_complex.json') .success(function(data) { for(i = 0; i < data.length; i++){ data[i].registered = new Date(data[i].registered); } $scope.gridOptions.data = data; });

I have to manually type in a date and press enter on the keyboard for it to work on IE11.

Is this a bug or am I doing something wrong?

pmariduena avatar Nov 15 '14 00:11 pmariduena

"Is this a bug or am I doing something wrong?"

Yes you do something wrong. You should report this on the date calendar forum. :-)

bastienJS avatar Nov 15 '14 14:11 bastienJS

@jpuri : is this something you've seen before?

PaulL1 avatar Nov 16 '14 01:11 PaulL1

I guess <input type="date" is still not supported by IE 11, so none of angular's date editor or ui-grid's date editor will show date picker.

jpuri avatar Nov 16 '14 05:11 jpuri

If ui-grid renders those cells as <input type="date"....then you are correct @jpuri . See this link: http://stackoverflow.com/questions/13955096/input-type-date-doesnt-work-in-ie doesn't seem to work on IE11 either according to this...any way to polyfill this?

pmariduena avatar Nov 17 '14 02:11 pmariduena

@jpuri

Please see https://github.com/angular-ui/ng-grid/issues/2179

Adding bootstrap datepicker to ui-grid would fix this issue (so stay tuned for that one). Closing since IE just doesn't support this.

pmariduena avatar Dec 10 '14 15:12 pmariduena