DataTable - Column reordering errors in IE 11 #1018
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
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.
The text was updated successfully, but these errors were encountered: