How to toggle between hiding rows based on a column's content.

How to toggle between hiding rows based on a column's content.

GlyndwrGlyndwr Posts: 117Questions: 32Answers: 0

http://live.datatables.net/tavipeyi/1/edit

I am trying to hide rows if a column, in that row, contains a specific value.

In my real code I will have a column "Archived" and will want to toggle between showing archived members or hiding them.

Kind regards,

Glyn

Answers

  • colincolin Posts: 9,780Questions: 0Answers: 1,619

    There's a lot of mistakes in that fiddle - it's not running, plus you're only adding one column back into the table.

    Kevin's example from this thread may help - it's hiding rows with black cells. You could modify that for your use case.

    Colin

Sign In or Register to comment.