I was just wondering in one of the future releases if the pagination could be added to the top of the wpDataTables lists screen. Currently I have to scroll to the bottom of the page to get to the end of the list. Thanks for considering this.
Example to move info block above the table is to edit plugin file. In file ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php around line 2690 find:
$obj->dataTableParams->sDom = "BT<'clear'>{$showRowsPerPage}{$globalSearch}{$scrollable}{$infoBlock}p"; and replace it with: $obj->dataTableParams->sDom = "B{$infoBlock}T<'clear'>{$showRowsPerPage}{$globalSearch}{$scrollable}p"; If you want info block at the top and bottom of the grid replace it with: $obj->dataTableParams->sDom = "B{$infoBlock}T<'clear'>{$showRowsPerPage}{$globalSearch}{$scrollable}{$infoBlock}p";
each letter stands for the different block in your case you will need to place letter "p" at the beginning of the code.
I was just wondering in one of the future releases if the pagination could be added to the top of the wpDataTables lists screen. Currently I have to scroll to the bottom of the page to get to the end of the list. Thanks for considering this.
HI tnconnect,
Thank you for your purchase.
Example to move info block above the table is to edit plugin file.
In file ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php around line 2690 find:
$obj->dataTableParams->sDom = "BT<'clear'>{$showRowsPerPage}{$globalSearch}{$scrollable}{$infoBlock}p";
and replace it with:
$obj->dataTableParams->sDom = "B{$infoBlock}T<'clear'>{$showRowsPerPage}{$globalSearch}{$scrollable}p";
If you want info block at the top and bottom of the grid replace it with:
$obj->dataTableParams->sDom = "B{$infoBlock}T<'clear'>{$showRowsPerPage}{$globalSearch}{$scrollable}{$infoBlock}p";
each letter stands for the different block in your case you will need to place letter "p" at the beginning of the code.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables