Datatable : problem with get all selected checkbox even it is filter
Datatable : problem with get all selected checkbox even it is filter
hchamnan
Posts: 2Questions: 0Answers: 0
Hello,
First, I want to said sorry for my english.
Second, I have one prolem with using checkbox on datatable, and need help.
The problem is like this:
- Assume that I have 100 rows in table and I have a checkBox in each rows.
- I have one checkbox for select all checkbox when I click it.
when I click select all the checkBox, i do selected all checkbox in row of table and then when I click submit button I can get all the selected checkbox. It is good.
- But If I click select all the checkbox, all the checkbox in row of table is selected and then I try filter on the search text box, I got only 10 rows and every checkbox is still selected, and the problem when I click submit button, I still get all the selected checkBox(100 of checkbox). what I want is I want to get selected checkbox that I had filter.
Thank you
Chamnan
First, I want to said sorry for my english.
Second, I have one prolem with using checkbox on datatable, and need help.
The problem is like this:
- Assume that I have 100 rows in table and I have a checkBox in each rows.
- I have one checkbox for select all checkbox when I click it.
when I click select all the checkBox, i do selected all checkbox in row of table and then when I click submit button I can get all the selected checkbox. It is good.
- But If I click select all the checkbox, all the checkbox in row of table is selected and then I try filter on the search text box, I got only 10 rows and every checkbox is still selected, and the problem when I click submit button, I still get all the selected checkBox(100 of checkbox). what I want is I want to get selected checkbox that I had filter.
Thank you
Chamnan
This discussion has been closed.