com.github.dandelion.datatables.core.extension.feature
Class ExportFeature

java.lang.Object
  extended by com.github.dandelion.datatables.core.extension.AbstractExtension
      extended by com.github.dandelion.datatables.core.extension.feature.ExportFeature
All Implemented Interfaces:
Extension

public class ExportFeature
extends AbstractExtension

Extension used to generate export links, depending on the export configurations stored in the TableConfiguration instance.

All export links are generated inside a dedicated ExtraHtml with the uid E.

If the TableConfig.FEATURE_DOM is not present in the TableConfiguration instance, the export links container will be inserted with the following configuration: lEfrtip. Otherwise, the container must be added manually thanks to the TableConfig.FEATURE_DOM feature.

Since:
0.10.0
Author:
Thibault Duchateau
See Also:
TableConfig.EXPORT_ENABLED_FORMATS, TableConfig#EXPORT_LINK_POSITIONS, TableConfig.FEATURE_DOM

Constructor Summary
ExportFeature()
           
 
Method Summary
 String getName()
           Returns the extension's name.
 void setup(HtmlTable table)
           
 
Methods inherited from class com.github.dandelion.datatables.core.extension.AbstractExtension
addBundle, addBundleParameter, addCallback, addCallback, addParameter, addParameter, addParameter, appendToAfterAll, appendToAfterStartDocumentReady, appendToBeforeAll, appendToBeforeEndDocumentReady, appendToBeforeStartDocumentReady, equals, getAfterAll, getAfterStartDocumentReady, getBeforeAll, getBeforeEndDocumentReady, getBeforeStartDocumentReady, getConfigGenerator, getContext, getDynamicAttributes, getFunction, getParameters, hashCode, isEnabled, isNotNull, setConfigGenerator, setConfs, setFunction, setupWrapper
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportFeature

public ExportFeature()
Method Detail

getName

public String getName()
Description copied from interface: Extension

Returns the extension's name. The name is case-insensitive when loaded by the JSP taglib or the Thymelead dialect.


setup

public void setup(HtmlTable table)
Specified by:
setup in class AbstractExtension


Copyright © 2013–2014 Dandelion Project. All rights reserved.