|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Extension
Common interface for all extensions. An extension can be a plugin (e.g.
ScrollerPlugin, ColReorderPlugin), a feature (e.g.
PaginationTypeBootstrapFeature, AbstractFilteringFeature
add-on) or a theme (e.g. Bootstrap2Theme).
An extension can be composed of :
DatatablesGenerator. You can also take a look at the
ColumnFilteringGenerator to see the configuration generated for the
Column Filtering add-on.
oTable_myTableId = $('#myTableId').dataTable(oTable_myTableId_params).columnFilter({...});
=> BEFOREALL
var oTable_tableId = $('#myTableId');
var oTable_tableId_params = {...};
=> BEFORESTARTDOCUMENTREADY
$(document).ready(function(){
=> AFTERSTARTDOCUMENTREADY
oTable_myTableId = $('#myTableId').dataTable(oTable_myTableId_params);
=> BEFOREENDDOCUMENTREADY
});
=> AFTERALL
ExtensionLoader,
ExtensionProcessor| Method Summary | |
|---|---|
void |
addParameter(Parameter conf)
|
void |
appendToAfterAll(String afterAll)
|
void |
appendToAfterStartDocumentReady(String afterStartDocumentReady)
|
void |
appendToBeforeAll(String beforeAll)
|
void |
appendToBeforeEndDocumentReady(String beforeEndDocumentReady)
|
void |
appendToBeforeStartDocumentReady(String beforeStartDocumentReady)
|
StringBuilder |
getAfterAll()
|
StringBuilder |
getAfterStartDocumentReady()
|
StringBuilder |
getBeforeAll()
|
StringBuilder |
getBeforeEndDocumentReady()
|
StringBuilder |
getBeforeStartDocumentReady()
|
AbstractConfigurationGenerator |
getConfigGenerator()
|
String |
getFunction()
|
String |
getName()
Returns the extension's name. |
List<Parameter> |
getParameters()
|
void |
setConfigGenerator(AbstractConfigurationGenerator configGenerator)
|
void |
setConfs(List<Parameter> confs)
|
void |
setFunction(String function)
|
void |
setupWrapper(HtmlTable table)
Set the extension up. |
| Method Detail |
|---|
String getName()
Returns the extension's name. The name is case-insensitive when loaded by the JSP taglib or the Thymelead dialect.
void setupWrapper(HtmlTable table)
Set the extension up.
The HtmlTable object is available if a particular configuration is needed.
table - The HTML table.StringBuilder getBeforeAll()
InsertMode.BEFOREALL placeholder.StringBuilder getAfterAll()
InsertMode.AFTERALL placeholder.StringBuilder getBeforeStartDocumentReady()
InsertMode.BEFORESTARTDOCUMENTREADY placeholder.StringBuilder getAfterStartDocumentReady()
InsertMode.AFTERSTARTDOCUMENTREADY placeholder.StringBuilder getBeforeEndDocumentReady()
InsertMode.BEFOREENDDOCUMENTREADY placeholder.List<Parameter> getParameters()
void setConfs(List<Parameter> confs)
void addParameter(Parameter conf)
AbstractConfigurationGenerator getConfigGenerator()
void setConfigGenerator(AbstractConfigurationGenerator configGenerator)
void appendToBeforeAll(String beforeAll)
void appendToBeforeStartDocumentReady(String beforeStartDocumentReady)
void appendToAfterStartDocumentReady(String afterStartDocumentReady)
void appendToBeforeEndDocumentReady(String beforeEndDocumentReady)
void appendToAfterAll(String afterAll)
String getFunction()
void setFunction(String function)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||