lundi 18 juillet 2022

Check all checkbox in table with pagination

I'm looking for a solution to check all checkbox of a table with pagination. I'm using laravel pagination :

$webclients = WebClient::orderBy('id', 'desc')->paginate(20);

But i encounter a problem :

The display page work good, but all the other rows on all other pages doesn't check. And if a i change the page, all checked checkboxes become uncheck.

I don't know if is exist a solution in javascript or in PHP with appends data ?

Can i get all the hidden node of a paginate table in Jquery or JS ?

Many thanks for the help !




Aucun commentaire:

Enregistrer un commentaire