Column A not read in IE8 for a remote file #140

Closed
opened 2014-10-28 15:01:18 +00:00 by Aymkdn · 5 comments
Aymkdn commented 2014-10-28 15:01:18 +00:00 (Migrated from github.com)

Hi,

When I test the ajax example in IE8, the column A is not read. I did some tests on my side with two different files, and I have the same behavior.

Any idea why?

Thanks

Hi, When I test [the ajax example](http://oss.sheetjs.com/js-xlsx/ajax.html) in IE8, the column A is not read. I did some tests on my side with two different files, and I have the same behavior. Any idea why? Thanks
SheetJSDev commented 2014-10-28 17:14:12 +00:00 (Migrated from github.com)

@Aymkdn can you share a screenshot of the view in IE8 as well as in chrome?

@Aymkdn can you share a screenshot of the view in IE8 as well as in chrome?
Aymkdn commented 2014-10-28 17:35:31 +00:00 (Migrated from github.com)

With IE8:
capture_ie8

With Chrome:
capture_chrome

With IE8: ![capture_ie8](https://cloud.githubusercontent.com/assets/946315/4813443/8a6a02ba-5ec8-11e4-9301-34b0e5e291e9.PNG) With Chrome: ![capture_chrome](https://cloud.githubusercontent.com/assets/946315/4813470/c81c0a22-5ec8-11e4-8c9d-03c78877a66a.PNG)
SheetJSDev commented 2014-10-28 20:19:37 +00:00 (Migrated from github.com)

@Aymkdn sorry for asking, since I'm not in front of a windows machine ATM, can you check http://oss.sheetjs.com/js-xls/ajax.html in IE8 and see if the same thing happens?

@Aymkdn sorry for asking, since I'm not in front of a windows machine ATM, can you check http://oss.sheetjs.com/js-xls/ajax.html in IE8 and see if the same thing happens?
Aymkdn commented 2014-10-29 10:04:24 +00:00 (Migrated from github.com)

It doesn't work at all. There is an error "Object doesn't support this property or method".
This is due to :
function keys(o) { return Object.keys(o); }

Object.keys doesn't exist for IE8.

You might want to use a polyfill for it.
Or to call <script src="//polyfill.io/"></script> that will provide all available polyfill for the current browser.
However, even with that, there is another error due to Uint8Array that doesn't exist with IE8 and there is no polyfill for that one...

It doesn't work at all. There is an error "Object doesn't support this property or method". This is due to : `function keys(o) { return Object.keys(o); }` `Object.keys` doesn't exist for IE8. You might want to use [a polyfill](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Object/keys) for it. Or to call `<script src="//polyfill.io/"></script>` that will provide all available polyfill for the current browser. However, even with that, there is another error due to `Uint8Array` that doesn't exist with IE8 and there is no polyfill for that one...
SheetJSDev commented 2017-02-22 07:06:49 +00:00 (Migrated from github.com)

Not sure why GH didn't automatically close the issue, oh well

Not sure why GH didn't automatically close the issue, oh well
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#140
No description provided.