How can I hide some rows after sorting a column?
How can I hide some rows after sorting a column?
![gbmapo](https://secure.gravatar.com/avatar/22a1e7ebf572501f6014cae94a547c57/?default=https%3A%2F%2Fvanillicon.com%2F22a1e7ebf572501f6014cae94a547c57_200.png&rating=g&size=120)
Here is the test case: live.datatables.net/jiferuba/1/edit?html,js,output
Any 'year' column (i.e. from third column to last column) can be sorted on its content (from 0 to whatever number). The rows with no content for this column are in the bottom of the table, as expected.
I woukd like to hide these 'empty' rows in order to show only the rows with a number for this specific column.
How can I do that?
Thanks in advance.
This discussion has been closed.
Answers
Any row hiding needs to be done by search. In this case, what you would need to do is have a custom plug-in which would check to see if this column is the one being sorted on, and if so, then apply the filter you need.
Allan