We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a column contains a null value the error is thrown when that column is sorted.
// Built-in sort functions // (the most common use-cases I could think of) aAttr = aAttr.toLowerCase();
jquery.dynatable.js:923 Uncaught TypeError: Cannot read property 'toLowerCase' of null
The text was updated successfully, but these errors were encountered:
Hi, I had similarly problem. I had in column strings, and next after added number i got error "bAttr.toLowerCase(); is not a function".
I made little change in code (line 912 and 913):
aAttr = aAttr.toLowerCase(); bAttr = bAttr.toLowerCase();
change to this:
aAttr = aAttr.toString().toLowerCase(); bAttr = bAttr.toString().toLowerCase();
Sorry, something went wrong.
About your problem, add before 912 line: if(typeof aAttr == 'undefined') aAttr = ""; else if(aAttr == null) aAttr = "";
if(typeof aAttr == 'undefined') aAttr = "";
else if(aAttr == null) aAttr = "";
No branches or pull requests
When a column contains a null value the error is thrown when that column is sorted.
jquery.dynatable.js:923 Uncaught TypeError: Cannot read property 'toLowerCase' of null
The text was updated successfully, but these errors were encountered: