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

Empty cell value #23

Open
m-ovs opened this issue Jul 28, 2021 · 0 comments
Open

Empty cell value #23

m-ovs opened this issue Jul 28, 2021 · 0 comments

Comments

@m-ovs
Copy link

m-ovs commented Jul 28, 2021

If column contain some empty values the sorting fails with error "Column name "%s" does not exist in collection".
The error appears if an empty cell located in the first position in the table. So, if the empty cell initially not at the first position the ASC sorting passes well, but then empty cell took the first position and second DESC sorting fails with an error above.
For now I solved the problem just commenting this: /*return this._formatError(n[t],"sort",'Column name "%s" does not exist in collection',t),*/
But this is an ugly hack. Sorry, I'm not a pro in JS to make you a good PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant