Sorting Dynamic Table Data with Empty Cells
Sorting Dynamic Table Data with Empty Cells
Hi, First of all, thanks so much for your time. This is such an amazing tool.
I am fetching data using the server-side method with a custom MySQL query on an ExpressionEngine database.
For some reason, empty data is being sorted before all other data. Is there a way to always push empty data to the bottom of a column? I'd like for entries beginning with A to be considered first, Z as last, and then empty values at the end when sorting.
Here is what I have so far. Any help is greatly appreciated:
http://pastebin.com/ReexMzX4
I am fetching data using the server-side method with a custom MySQL query on an ExpressionEngine database.
For some reason, empty data is being sorted before all other data. Is there a way to always push empty data to the bottom of a column? I'd like for entries beginning with A to be considered first, Z as last, and then empty values at the end when sorting.
Here is what I have so far. Any help is greatly appreciated:
http://pastebin.com/ReexMzX4
This discussion has been closed.
Replies
Code: oveyak