igx-grid doesn't show on IE11(both Win10 and Win7)
Description
igx-grid doesn't show on IE11.
Steps to reproduce
- Unzip and Run igx-grid-app.zip
- Open http://localhost:4200/ on IE11
Result
igx-grid doesn't show on IE11. And, the following errors are thrown in the browser console.
ERROR TypeError: Unable to get property 'getElementsByTagName' of undefined or null reference ERROR TypeError: Unable to get property 'children' of undefined or null reference
Here is a screenshot.

Expected result
igx-grid should show on IE11 without errors.
Attachments
It seems that the former error is thrown in igxForOf direcitive. https://github.com/IgniteUI/igniteui-angular/blob/master/src/directives/for-of/for_of.directive.ts#L446
When I tried modifying the code as below, I was able to show igx-grid.
protected getElement(viewref, nodeName) {
if (!viewref.element.nativeElement.parentElement) {
return null;
}
const elem = viewref.element.nativeElement.parentElement.getElementsByTagName(nodeName);
return elem.length > 0 ? elem[0] : null;
}
But another issues came up.
- Grid header doesn't show, although the dom has been rendered.
- Horizontal scroll doesn't work and the following error is thrown.
ERROR TypeError: Unable to get property 'destroy' of undefined or null reference
Here is a screenshot.

Maybe a polyfill is missing?
Tried loading all the polyfills from igniteui-angular-samples and no luck. Still the same error.
There are multiple issues here not related to missing polyfills.
- A JavaScript error due to a missing "parentElement" API.
- Scrolls doesn't work
- Styling - header is not showing