All versions of TablePress support the following basic configuration parameters, both in the “TablePress Table” block in the editor as well as when using the [table id=N /]
Shortcode. The supported configuration parameters of the TablePress premium feature modules are shown below.
In addition, the different features modules in the TablePress premium versions support these configuration parameters:
Module | Slug | Configuration parameter | Name | Description | Type | Default value | |
---|---|---|---|---|---|---|---|
Advanced Loading | datatables-advanced-loading | datatables_advanced_loading | boolean (true or false ) | false |
|||
Advanced Loading | datatables-advanced-loading | datatables_advanced_loading_html_rows | integer | 10 |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_firstlast | boolean (true or false ) | false |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_previousnext | boolean (true or false ) | true |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_numbers | boolean (true or false ) | true |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_input | boolean (true or false ) | false |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_input_pageof | boolean (true or false ) | true |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_buttons | integer | 7 |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_boundarynumbers | boolean (true or false ) | true |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_scrolltotop | boolean (true or false ) | false |
|||
Advanced Pagination Settings | datatables-pagination | datatables_pagination_scrolltotop_offset | integer | 10 |
|||
Alphabet Search | datatables-alphabetsearch | datatables_alphabetsearch | boolean (true or false ) | false |
|||
Alphabet Search | datatables-alphabetsearch | datatables_alphabetsearch_column | string | 1 |
|||
Alphabet Search | datatables-alphabetsearch | datatables_alphabetsearch_alphabet | enum (latin or greek ) | latin |
|||
Alphabet Search | datatables-alphabetsearch | datatables_alphabetsearch_numbers | boolean (true or false ) | false |
|||
Alphabet Search | datatables-alphabetsearch | datatables_alphabetsearch_letters | boolean (true or false ) | true |
|||
Alphabet Search | datatables-alphabetsearch | datatables_alphabetsearch_case_sensitive | boolean (true or false ) | false |
|||
Automatic Filter | datatables-auto-filter | datatables_auto_filter | string | "" (empty string) |
|||
Automatic Filter | datatables-auto-filter | datatables_auto_filter_url_parameter | string | "" (empty string) |
|||
Buttons | datatables-buttons | datatables_buttons | string | "" (empty string) |
|||
Cell Highlighting | cell-highlighting | highlight | Cell Highlight term | Cells that contain this term will be highlighted. You can combine multiple highlight terms with an OR operator, e.g. term1||term2 or term1&&term2 . | string | "" (empty string) |
|
Cell Highlighting | cell-highlighting | highlight_full_cell_match | Full cell matching | If this is true , the full cell content has to match the highlight term. | boolean (true or false ) | false |
|
Cell Highlighting | cell-highlighting | highlight_case_sensitive | Case-sensitive matching | If this is true , the case sensitivity of the highlight term has to match the content in the cell. | boolean (true or false ) | false |
|
Cell Highlighting | cell-highlighting | highlight_columns | Highlight columns | A comma-separated list of the columns which should be searched for the highlight terms, e.g. 1,3-5,7 . By default, all columns will be searched. | string | "" (empty string) // "" equates to 'all'. |
|
Cell Highlighting | cell-highlighting | highlight_url_parameter | Cell Highlight URL parameter | This allows providing the Cell Highlight term in a URL parameter. | string | "" (empty string) |
|
Column Filter Dropdowns | datatables-columnfilterwidgets | datatables_columnfilterwidgets | boolean (true or false ) | false |
|||
Column Filter Dropdowns | datatables-columnfilterwidgets | datatables_columnfilterwidgets_columns | string | "" (empty string) |
|||
Column Filter Dropdowns | datatables-columnfilterwidgets | datatables_columnfilterwidgets_exclude_columns | string | "" (empty string) |
|||
Column Filter Dropdowns | datatables-columnfilterwidgets | datatables_columnfilterwidgets_separator | string | "" (empty string) |
|||
Column Filter Dropdowns | datatables-columnfilterwidgets | datatables_columnfilterwidgets_max_selections | string | "" (empty string) |
|||
Column Filter Dropdowns | datatables-columnfilterwidgets | datatables_columnfilterwidgets_group_terms | boolean (true or false ) | false |
|||
Column Order | column-order | column_order | enum (default , reverse , or manual ) | default |
|||
Column Order | column-order | column_order_manual_order | string | "" (empty string) |
|||
Custom Search Builder | datatables-searchbuilder | datatables_searchbuilder | boolean (true or false ) | false |
|||
Fixed Columns | datatables-fixedheader-fixedcolumns | datatables_fixedcolumns | string | "" (empty string) |
|||
Fixed Columns | datatables-fixedheader-fixedcolumns | datatables_fixedcolumns_left_columns | integer | 0 |
|||
Fixed Columns | datatables-fixedheader-fixedcolumns | datatables_fixedcolumns_right_columns | integer | 0 |
|||
Fixed Columns | datatables-fixedheader-fixedcolumns | datatables_scrollx_buttons | boolean (true or false ) | false |
|||
Fixed Rows | datatables-fixedheader-fixedcolumns | datatables_fixedheader | string | "" (empty string) |
|||
Fixed Rows | datatables-fixedheader-fixedcolumns | datatables_fixedheader_offsettop | integer | 0 |
|||
Fuzzy Search | datatables-fuzzysearch | datatables_fuzzysearch | boolean (true or false ) | false |
|||
Fuzzy Search | datatables-fuzzysearch | datatables_fuzzysearch_threshold | float | 0.5 |
|||
Fuzzy Search | datatables-fuzzysearch | datatables_fuzzysearch_togglesmart | boolean (true or false ) | true |
|||
Fuzzy Search | datatables-fuzzysearch | datatables_fuzzysearch_rankcolumn | string | "" (empty string) |
|||
Index Column | datatables-counter-column | datatables_counter_column | boolean (true or false ) | false |
|||
Individual Column Filtering | datatables-column-filter | datatables_column_filter | string | "" (empty string) |
|||
Individual Column Filtering | datatables-column-filter | datatables_column_filter_position | enum (table_head or table_foot ) | table_head |
|||
Individual Column Filtering | datatables-column-filter | datatables_column_filter_columns | string | "" (empty string) |
|||
Inverted Filtering | datatables-inverted-filter | datatables_inverted_filter | boolean (true or false ) | false |
|||
Responsive Tables | responsive-tables | responsive | string | "" (empty string) |
|||
Responsive Tables | responsive-tables | responsive_breakpoint | enum (phone , tablet , desktop , or all ) | phone |
|||
Responsive Tables | responsive-tables | responsive_scroll_buttons | boolean (true or false ) | false |
|||
Row Filtering | row-filtering | filter | string | "" (empty string) |
|||
Row Filtering | row-filtering | filter_full_cell_match | boolean (true or false ) | false |
|||
Row Filtering | row-filtering | filter_case_sensitive | boolean (true or false ) | false |
|||
Row Filtering | row-filtering | filter_columns | string | "" (empty string) // "" equates to 'all'. |
|||
Row Filtering | row-filtering | filter_inverse | boolean (true or false ) | false |
|||
Row Filtering | row-filtering | filter_url_parameter | string | "" (empty string) |
|||
Row Grouping | datatables-rowgroup | datatables_rowgroup | boolean (true or false ) | false |
|||
Row Grouping | datatables-rowgroup | datatables_rowgroup_datasrc | string | 1 |
|||
Row Highlighting | row-highlighting | row_highlight | string | "" (empty string) |
|||
Row Highlighting | row-highlighting | row_highlight_full_cell_match | boolean (true or false ) | true |
|||
Row Highlighting | row-highlighting | row_highlight_case_sensitive | boolean (true or false ) | false |
|||
Row Highlighting | row-highlighting | row_highlight_columns | // "" equates to 'all'. | string | "" (empty string) |
||
Row Highlighting | row-highlighting | row_highlight_rows | // "" equates to 'all'. | string | "" (empty string) |
||
Row Highlighting | row-highlighting | row_highlight_url_parameter | string | "" (empty string) |
|||
Row Order | row-order | row_order | enum (default , reverse , sort , or manual ) | default |
|||
Row Order | row-order | row_order_sort_column | string | "" (empty string) |
|||
Row Order | row-order | row_order_sort_direction | enum (asc or desc ) | asc |
|||
Row Order | row-order | row_order_manual_order | string | "" (empty string) |
|||
Search Highlighting | datatables-searchhighlight | datatables_searchhighlight | boolean (true or false ) | false |
|||
Search Panes | datatables-searchpanes | datatables_searchpanes | boolean (true or false ) | false |
|||
Search Panes | datatables-searchpanes | datatables_searchpanes_columns | string | "" (empty string) |
|||
Server-side Processing | datatables-serverside-processing | datatables_serverside_processing | boolean (true or false ) | false |
|||
Server-side Processing | datatables-serverside-processing | datatables_serverside_processing_cached_pages | integer | 0 |
|||
Server-side Processing | datatables-serverside-processing | datatables_serverside_processing_periodic_refresh | integer | 0 |
|||
Server-side Processing | datatables-serverside-processing | datatables_serverside_processing_request_type | enum (GET or POST ) | GET |
|||
Server-side Processing | datatables-serverside-processing | datatables_serverside_processing_html_rows | This is only a Shortcode parameter, but not part of the user interface. By default, the value of the datatables_paginate_entries value is used. | string | "" (empty string) |
||
Table Layout | datatables-layout | datatables_layout | Table Layout | This parameter allows changing the Table Layout, by returning an object in JSON notation, e.g. as datatables_layout='{...}' .However, as Shortcode parameters can not contain [ or ] characters that denote arrays in JSON, setting a different layout is only possible if only one control element should be shown per feature position.Due to the JSON requirement, the JSON object string must be wrapped in single quotes ' for WordPress to properly recognize the parameter.Example: The configuration parameter datatables_layout='{"top":"search", "topStart":null, "topEnd":null, "bottomStart":"paging", "bottomEnd":null}' will move the "Search" field to the top center position and only keep the Pagination controls below the table.For more details, see the DataTables documentation. | string | "" (empty string) |