Page Contents

Configuration

DataTables.columnAutoGeneratedWarning

Default: true - If true the plugin will show each autogenerated column with a blinking yellow color to alert the developer that it was autogenerated.

DataTables.libraries

This config subsection is for control as default what css and scripts from DataTables library and it dependencies will be loaded.

DataTables.libraries.enabled

Default: true - If true, will enable the css and scripts load, if false, will disable it.

DataTables.libraries.autoload

Default: true - If true, it will load the library plugins automatically when one is used.

DataTables.libraries.cssBlock

Default: css - This config is used by plugin to know in what fetch block the css files tag will be rendered.

DataTables.libraries.scriptBlock

Default: script - This config is used by plugin to know in what fetch block the script files tag will be rendered. The plugin script code for each table will be rendered inside this block too.

DataTables.libraries.theme

Default: LocalResourcesConfig::THEME_BASE - This configuration will decide what theme files must be loaded. The options are:

  • LocalResourcesConfig::THEME_BASE - With this option the default DataTables library theme will be loaded.

  • LocalResourcesConfig::THEME_BOOTSTRAP3 - With this option the Bootstrap 3 theme will be loaded.

  • LocalResourcesConfig::THEME_BOOTSTRAP4 - With this option the Bootstrap 4 theme will be loaded.

  • LocalResourcesConfig::THEME_FOUNDATION - With this option the Foundation theme will be loaded.

  • LocalResourcesConfig::THEME_JQUERY_UI - With this option the jQuery UI theme will be loaded.

  • LocalResourcesConfig::THEME_SEMANTIC_UI - With this option the Semantic UI theme will be loaded.

DataTables.libraries.loadThemeLibrary

Default: false - If this config is true, the plugin will load the theme library if it exists, like Bootstrap 3 css and script files.

DataTables.libraries.jquery

Default: LocalResourcesConfig::JQUERY_NONE - With this config you can choose what version of jQuery load or don’t load it. The options are:

  • LocalResourcesConfig::JQUERY_NONE - With this option no jQuery file will be loaded.

  • LocalResourcesConfig::JQUERY_1 - With this option the jQuery 1 will be loaded.

  • LocalResourcesConfig::JQUERY_3 - With this option the jQuery 3 will be loaded.

DataTables.libraries.plugins.autoFill

Default: false - If true will load the plugin Auto Fill files.

DataTables.libraries.plugins.buttons

Default: false - If true will load the plugin Buttons files.

DataTables.libraries.plugins.colReorder

Default: false - If true will load the plugin Col Reorder files.

DataTables.libraries.plugins.fixedColumns

Default: false - If true will load the plugin Fixed Columns files.

DataTables.libraries.plugins.fixedHeader

Default: false - If true will load the plugin Fixed Header files.

DataTables.libraries.plugins.keyTable

Default: false - If true will load the plugin Key Table files.

DataTables.libraries.plugins.responsive

Default: false - If true will load the plugin Responsive files.

DataTables.libraries.plugins.rowGroup

Default: false - If true will load the plugin Row Group files.

DataTables.libraries.plugins.rowReorder

Default: false - If true will load the plugin Row Reorder files.

DataTables.libraries.plugins.scroller

Default: false - If true will load the plugin Scroller files.

DataTables.libraries.plugins.searchPanes

Default: false - If true will load the plugin Search Panes files.

DataTables.libraries.plugins.select

Default: false - If true will load the plugin Select files.

DataTables.StorageEngine.class

Default: CacheStorageEngine::class - This says to plugin what class will do the cache. Must be a implementation of StorageEngineInterface.

DataTables.StorageEngine.forceCache

Default: false - If true will force the cache even when debug is on.

DataTables.resources.templates

Default: ROOT . DS . ‘templates’ . DS . ‘data_tables’ . DS - This is the folder that the plugin will save baked template files and where the plugin will find it when necessary.

DataTables.resources.twigCacheFolder

Default: CACHE . DS . ‘data_tables’ . DS . ‘twig’ . DS - The plugin use Twig to generate script callback functions, so it need a cache folder.

DataTables.Cache._data_tables_config_bundles_

A CakePHP cache config that plugin use to store some things and CacheStorageEngine is included.

  v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Downloads
On GitHub
View
Edit

Free document hosting provided by Read the Docs.