how to check checkbox in table after filter

how to check checkbox in table after filter

nobunobu Posts: 5Questions: 2Answers: 0

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.

Answers

  • nobunobu Posts: 5Questions: 2Answers: 0

    I can resolve.

    $('input[value="1"]',{"filter":"applied"}).prop('checked',true);

This discussion has been closed.