how to check checkbox in table after filter
how to check checkbox in table after filter
![nobu](https://secure.gravatar.com/avatar/0c96f294f25faf16f4d5c8045130398a/?default=https%3A%2F%2Fvanillicon.com%2F0c96f294f25faf16f4d5c8045130398a_200.png&rating=g&size=120)
I would like to check checkbox in table. I tried to use jquery, but checked only showing page. And, I tried to use datatable object, then all items checked.I would like to check only items after filter. Could you give me solution?
example: table.$('input[value="1"]').prop('checked',true);
then, checked all items.
This discussion has been closed.
Answers
I can resolve.
$('input[value="1"]',{"filter":"applied"}).prop('checked',true);