Yes you can. From version 2.1, if you use some custom roles from other plugins (like it is S2Member, User Role Editor or any other), those roles will be available in the “Editor roles” option under the EDITING tab in the table settings.
When customizing wpDataTables for your own usage, you might find that the default position of those elements is not quite to your liking. You have to modify some code in the core of the plugin.
Example to move info block above the table is to edit the plugin file. In file ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php around line 3515 find:
$obj->dataTableParams->sDom = "BT<'clear'>{$showRowsPerPage}{$globalSearch}{$scrollable}{$infoBlock}{$pagination}";
and replace it with:
$obj->dataTableParams->sDom = "B{$infoBlock}T<'clear'>{$showRowsPerPage}{$globalSearch}{$scrollable}{$pagination}";
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}{$pagination}";
each letter stands for the different block. Our plugin is based on Datatables jQuery plugin and more details about DOM positioning can be found on this link.
Note: If you make these changes, they will be overwritten with the next update, so you will need to make the changes again.
You can use CSS class for each button.
.DTTT_button_print /* for print */ .DTTT_button_xls /* for excel */ .DTTT_button_csv /* for csv */ .DTTT_button_copy /* for copy */ .DTTT_button_pdf /* for pdf */
You can insert your custom CSS for this buttons in Custom wpDataTables CSS under the “Custom JS AND CSS” in main settings of wpdatatables. If you want for specific tables then insert this code between style tags on the page where is that table.
Just add this code in Custom wpDataTables CSS under the “Custom JS AND CSS” in main settings of wpdatatables.
table.wpDataTable tbody tr td{ vertical-align:top !important; }
That will be effected on all tables, but if you want for specific tables then insert this code between style tags on the page where is that table.
<style> table.wpDataTable tbody tr td{ vertical-align:top !important; } </style>
We guess you created tables with server-side processing where this option is disabled. The reason for this is that when it is turn on with server-side processing, row grouping works, but other features of the plugin can have unexpected behavior.