How do I select-all only filtered rows?

How do I select-all only filtered rows?

camerondeckercamerondecker Posts: 7Questions: 2Answers: 1

Hello,

I'm not able to find anything about being able to select all rows from a filtered result set. I did find this post:

https://datatables.net/forums/discussion/17984/select-all-filtered

But that uses the old Table Tools stuff. Is there a similar way I can do this with the new buttons/select plugins?

Thanks!
Cameron

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,322Questions: 1Answers: 10,023 Site admin
    Answer ✓

    This should do it:

    table.rows( { search: 'applied' } ).select()
    

    Allan

  • camerondeckercamerondecker Posts: 7Questions: 2Answers: 1

    Perfect! Thanks!

This discussion has been closed.