Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataTable - Column reordering errors in IE 11 #1018

Closed
git-jim opened this issue Oct 4, 2016 · 0 comments
Closed

DataTable - Column reordering errors in IE 11 #1018

git-jim opened this issue Oct 4, 2016 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@git-jim
Copy link

git-jim commented Oct 4, 2016

When setting reorderableColumns="true", IE 11 will generate an error the first time you start to drag a DataTable column:

0x800a139e - JavaScript runtime error: Error: Error in ./DataTable class DataTable - inline template:16:65 caused by: Unexpected call to method or property access.

I was able to track down this StackOverflow post that indicates the error is caused by the call to dataTransfer.setData() on DataTable.ts:1152.

The documentation on Microsoft's site does indicates that the method is expecting 'text' or 'url' for the first parameter.

Changing 'a' to 'text' in my source locally does seem to fix the issue.

I'm still a GitHub newb, so creating a pull request is still something I need to figure out. I'll attempt to create one later. My project deadline is looming and I wanted to at least share my findings in case anyone else needed a work around.

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Nov 16, 2016
@cagataycivici cagataycivici added this to the 1.0.0-RC5 milestone Nov 16, 2016
@cagataycivici cagataycivici self-assigned this Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants