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
Column sorting doesn't work as expected when column contains undefined values.
To Reproduce
Steps to reproduce the behavior:
Create a table
Add data as array of arrays, with sample values
[
[undefined],
[100],
[300],
[undefined],
[50]
}
Test sorting of column; sorting does not occur. No errors are thrown.
** Device
Chrome, Brave
NPM Version 6.1.1
Additional context
May be able to fix by 1. Adding check for undefined in native sort function 2. Passing order (asc, desc) to comparator function for custom handling of undefined values. Unfortunately don't currently have time to check all possible causes and write PR, but may be able to in the next few weeks.
The text was updated successfully, but these errors were encountered:
Column sorting doesn't work as expected when column contains undefined values.
To Reproduce
Steps to reproduce the behavior:
** Device
Additional context
May be able to fix by 1. Adding check for undefined in native sort function 2. Passing order (asc, desc) to comparator function for custom handling of undefined values. Unfortunately don't currently have time to check all possible causes and write PR, but may be able to in the next few weeks.
The text was updated successfully, but these errors were encountered: