Date Calendar widget fails to appear on IE11
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?
"Is this a bug or am I doing something wrong?"
Yes you do something wrong. You should report this on the date calendar forum. :-)
@jpuri : is this something you've seen before?
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.
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?
@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.