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
I've been using the saveSort widget which is great, but now I found a issue related to it's use.
If the saved sort order is for example [5, 0] and meanwhile the table columns have changed (or are dynamic), so now there are only say 3 columns, we'll get an error inside: updateHeaderSortCount()
Saying o is undefined, after executing: o = c.headerList[s[0]]; - because it's pointing outside of the array.
Not really sure what this function does, but when I checked for undefined and just return, everything is fine.
Optimally, when applying a saveSort widget, it would make sure that the saved column is not out of bounds.
Thanks.
The text was updated successfully, but these errors were encountered:
I've been using the saveSort widget which is great, but now I found a issue related to it's use.
If the saved sort order is for example [5, 0] and meanwhile the table columns have changed (or are dynamic), so now there are only say 3 columns, we'll get an error inside: updateHeaderSortCount()
Saying o is undefined, after executing: o = c.headerList[s[0]]; - because it's pointing outside of the array.
Not really sure what this function does, but when I checked for undefined and just return, everything is fine.
Optimally, when applying a saveSort widget, it would make sure that the saved column is not out of bounds.
Thanks.
The text was updated successfully, but these errors were encountered: