Hi,
thanks for your question, and sorry for the trouble.
Unfortunately, my French is not good enough, so that I will reply in English. I hope that’s ok.
This is possible using a “Custom Command”, which you can add on the table’s “Edit” screen:
"dom": "lfprti"
For details, please see the documentation at https://datatables.net/reference/option/dom
Regards,
Tobias
Thread Starter
Cocod
(@cocod)
merci pour votre réponse,
si j’applique votre formule java “dom”: “lfprti” il n’y a plus rien ni en bas ni en haut
https://www.le-reve-eveille-en-psychanalyse.com/test_tableau/
Ce que je veux c’est avoir précédent suivant en haut et en bas.
thank you for your reply,
if I apply your java “dom” formula: “lfprti” there is nothing either at the bottom or at the top
https://www.le-reve-eveille-en-psychanalyse.com/test_tableau/
What I want is to have previous next up and down.
Regards
DB
Thread Starter
Cocod
(@cocod)
Je pense que cela vient d’une incompatibilité entre deux codes.
Voila ce que j’ai dans la ligne commande personalisée :
“dom”: “lfprti””columnDefs”: [ { “searchable”: false, “orderable”: false, “targets”: [0,1 ] } ]
Cordialement.
DB
Hi,
when combining multiple commands, you have to use a comma:
"dom": "lfprti", "columnDefs": [ { "searchable": false, "orderable": false, "targets": [0,1 ] } ]
Regards,
Tobias
Thread Starter
Cocod
(@cocod)
Bonjour Tobias,
merci pour votre réponse, mais il y a deux problèmes :
1) la position de précédent/suivant ne peut on pas le mettre sous recherche ? comment ?
2) je voudrai qu’il y ai aussi en bas du tableau (après les 10 lignes du tableau)
précédent / suivant. donc qu’il soit à la fois en haut du tableau et en bas.
Regards;
DB
Hi,
please try this “Custom Command”:
"dom": "lfprtip", "columnDefs": [ { "searchable": false, "orderable": false, "targets": [0,1 ] } ]
To place the previous/next below the search field, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:
#tablepress-19_paginate {
clear: both;
}
Regards,
Tobias
Thread Starter
Cocod
(@cocod)
Super, merci beaucoup pour votre aide.
regards
DB
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!