public class TableConfiguration extends Object
| Constructor and Description |
|---|
TableConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TableConfiguration |
buttons()
Enable the default buttons.
|
TableConfiguration |
buttons(String... types)
Enable specific buttons.
|
TableConfiguration |
colReorder()
Enable reordering of table columns.
|
String |
getConfiguration()
Get the configuration as JSON.
|
boolean |
isUseButtons()
Returns whether buttons were configured to be used.
|
boolean |
isUseColReorder()
Returns whether column reordering was configured to be used.
|
boolean |
isUseResponsive()
Returns whether the responsive extension was configured to be used.
|
TableConfiguration |
responsive()
Make the table responsive, i.e.
|
TableConfiguration |
stateSave()
Enable saving of the table state.
|
public TableConfiguration responsive()
TableConfiguration for chaining methodspublic boolean isUseResponsive()
public TableConfiguration colReorder()
TableConfiguration for chaining methodspublic boolean isUseColReorder()
public TableConfiguration buttons()
TableConfiguration for chaining methodspublic TableConfiguration buttons(String... types)
types - List of buttons to useTableConfiguration for chaining methodspublic boolean isUseButtons()
public TableConfiguration stateSave()
TableConfiguration for chaining methodspublic String getConfiguration()
Copyright © 2016–2020. All rights reserved.