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 | Advanced Loading | Loads the table data from a JavaScript array instead of from HTML code, when rendering it on the frontend. This improves loading speed for bigger tables. | boolean (true or false ) | false | |
Advanced Loading | datatables-advanced-loading | datatables_advanced_loading_html_rows | Advanced Loading HTML Rows | The number of rows that should be added as HTML code, in addition to the JavaScript array. This serves as a fallback if JavaScript is disabled. | integer | 10 | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_firstlast | Pagination First/Last Buttons | Turns on “First” and “Last” buttons (« and »). | boolean (true or false ) | false | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_previousnext | Pagination Previous/Next Buttons | Turns on “Previous” and “Next” buttons (‹ and ›). | boolean (true or false ) | true | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_numbers | Pagination Page Numbers | Turns on Page Number buttons. | boolean (true or false ) | true | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_input | Pagination Page Input Field | Adds an input field to jump to a specific page. | boolean (true or false ) | false | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_input_pageof | Pagination "page of" text | Adds a “page of” text “/N” after the input. | boolean (true or false ) | true | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_buttons | Pagination number of buttons | The number of buttons to show in the pagination. | integer | 7 | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_boundarynumbers | Pagination boundary buttons | Whether to always show the first and last number buttons. | boolean (true or false ) | true | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_loadmore_button | Pagination "Show More" button | Whether to show a "Show More" button that loads more rows instead of classical pagination. | boolean (true or false ) | false | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_scrolltotop | Pagination Scroll to Top | Whether to scroll to the top of the table when the visitor goes to a different table page. | boolean (true or false ) | false | |
Advanced Pagination Settings | datatables-pagination | datatables_pagination_scrolltotop_offset | Pagination Scroll to Top offset | The offset in pixels that defines the scroll position. | 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 | Buttons configuration | Configuration object of the User Action 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_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_expression | Cell Highlight expression | A logic expression for complex Cell Highlighting. | 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_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_case_sensitive | boolean (true or false ) | false | |||
Row Filtering | row-filtering | filter_columns | string | "" (empty string) // "" equates to 'all'. | |||
Row Filtering | row-filtering | filter_expression | Row Filtering Expression | A logic expression for complex Row Filtering. | string | "" (empty string) | |
Row Filtering | row-filtering | filter_full_cell_match | boolean (true or false ) | false | |||
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_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_expression | Row Highlight expression | A logic expression for complex Row Highlighting. | string | "" (empty string) | |
Row Highlighting | row-highlighting | row_highlight_full_cell_match | boolean (true or false ) | true | |||
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_manual_order | string | "" (empty string) | |||
Row Order | row-order | row_order_sort_column | string | "" (empty string) | |||
Row Order | row-order | row_order_sort_direction | enum (asc or desc ) | asc | |||
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='{...}' .Due to the JSON requirement, the JSON object string must be wrapped in single quotes ' for WordPress to properly recognize the parameter.If the parameter is used inside a Shortcode, all [ and ] characters have to be replaced by their entities [ and ] .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) |