You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure that the target has contents or children before placing sort
arrow UI.
When trying to set the column sort arrow UI on a hidden column header we
were making the assumption that the column header had children. But if
the header was hidden it would cause an exception when trying to place
the UI element.
Tested on dgrid version, 0.3.14
In https://github.com/SitePen/dgrid/blob/master/test/extensions/CompoundColumns.html,
on line 260, change sort: "id" to sort: "col1" in order to initially sort the grid by "col1".
View this test page and there is an error stating,
Error on domReady callback: TypeError: Cannot read property 'nodeType' of null
By examining Call Stack, target on line 357 in Grid.js points to the hidden header that does not have text node as a child.
The text was updated successfully, but these errors were encountered: