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
Helpfully, Mottie answered and included this jsfiddle. I noticed, however, that when I sort ascending the 'not sets' are at the bottom of the list and I'd expect them to be at the top. Sort-descending behaves in the opposite manner.
If change emptyTo to "max" it behaves in the expected manner.
The text was updated successfully, but these errors were encountered:
It just so happens to use the same internal variables as the stringTo option (demo) which includes:
"max"
"min"
"top"
"bottom"
"none" or "zero"
So really, it's a bonus that emptyTo works with "min" and "max" settings, even though they are backwards.
I guess I could add two more settings, maybe something like "emptyMax" and "emptyMin" and set them properly within the internal variable... but maybe just adding a note in the documentation that it works backwards when using them in the emptyTo option.
I created this stackoverflow question about sorting empty dates.
Helpfully, Mottie answered and included this jsfiddle. I noticed, however, that when I sort ascending the 'not sets' are at the bottom of the list and I'd expect them to be at the top. Sort-descending behaves in the opposite manner.
If change emptyTo to "max" it behaves in the expected manner.
The text was updated successfully, but these errors were encountered: