Refresh table by checkbox
Refresh table by checkbox

how to add the refresh of table when i check the checkbox?
This question has accepted answers - jump to:
This discussion has been closed.
how to add the refresh of table when i check the checkbox?
This question has accepted answers - jump to:
Answers
use ajax reload:
https://datatables.net/reference/api/ajax.reload()
Got your message with the link to your example. Use the browser's inspector to tool to watch one of your rows. Check the checkbox and you will see the inline editor adds then removes the class
highlight
. This is the class you are using to highlight checked rows. Try changing the class name to something else to see if it helps.Kevin
Ehm kevin i dont understand what u means?
Right click on one of your rows then click
Inspect
. Toggle the checkbox fo that row and you will see thehighlight
class added then removed. This is the inline editor process. I think this is overwriting thehighlight
class you are adding in therowCallback
. Change the name class you are using in therowCallback
so it doesn't conflict.Kevin
Kevin is impossible for me understand what u means can u do an example because the translator is a shit.
Use my code for the example please
Change the class name you are using to something else like myHighlight, for example:
Then change your CSS to match this name.
Kevin
You probably also will need to remove the
myHighlight
class ifdata.active
is not1
. For example:Kevin
Ty KEEEVIN!
It works !