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 dates sorting #130

Open
kitkatsim opened this issue May 27, 2020 · 0 comments
Open

Empty dates sorting #130

kitkatsim opened this issue May 27, 2020 · 0 comments

Comments

@kitkatsim
Copy link

kitkatsim commented May 27, 2020

The code:

<td data-dateformat="MM-DD-YYYY"></td>

This empty cells gets data-value="Invalid date".
From my understanding, the sort is done with values in data-value. And that causes unwanted sorting result (blank rows goes first when sorted by descending)

My suggestion is to assign empty string data-value="" when the cell is empty.

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