public interface AsyncTableContentProvider
ModelObject must provide in order to render JQuery DataTables in a
corresponding jelly view using the tag table.jelly of the data-tables-api-plugin. Those tables will
have the data loaded asynchronously using an Ajax call.
Typically, you do not need to implement this interface directly. Preferred way is to use the default implementation
in DefaultAsyncTableContentProvider that already provides the correct extraction of the data rows as JSON
objects.
| Modifier and Type | Method and Description |
|---|---|
TableModel |
getTableModel(String id)
Returns the table model with the specified ID.
|
String |
getTableRows(String id)
Returns the rows of the table model with the specified ID.
|
TableModel getTableModel(String id)
id - ID of the table modelString getTableRows(String id)
data attribute of the data table. Note that this method will be invoked asynchronously using an Ajax call after
the page has been rendered.id - ID of the table modelCopyright © 2016–2020. All rights reserved.