Open georgeOsdDev opened 10 years ago
Whoa, I totally didn't see this PR before I created #125. My PR also fixes the issue where reverse sort persists after cycling through ascending/descending order.
@alfajango please merge this in
This is still an issue many months later. Please merge this.
Same bug here... Well, it's just a commit dude ! 2 lines to change !!!! COME ON !
seems dynatables is really dead !
Not dead, just been busy. Thanks for taking the time to look at this and submit a pull request. I think I like the solution in #125 for this issue as it's a bit cleaner and doesn't modify the original value unnecessarily.
When JSON contains record with null or undefined element, Sort by string will fail with
Uncaught TypeError: Cannot read property 'toLowerCase' of null
And dynatable process will hang up.This PR fix that error.
I know that we can use custom sort function. But it would be nice if dynatable handle unexpected input. http://jsfiddle.net/georgeosddev/cR3p8/2/