Module: module_datatable

module_datatable

This file gives the necessary instructions to setup the data table, using datatable.js instead of the table by default in dc.js.

Since:
  • 0.5
TODO
  • Harmonize container id.
  • Warp 'Show datatable' container into the module.

Requires

  • module:index.html
  • module:dev/dev-defined.js
  • module:js/main-loadfiles.js
  • module:js/module-datacheck.js
  • module:lang/module-lang.js
  • module:lang/main-core.js

Members

static,constantmodule:module_datatable.columnsObject

module-datatable

static,constantmodule:module_datatable.datatableObject

module-datatable

Contains the actual datatable object (definition parsed in layout).
Requires:


Defined in module:module_datatable.display.

static,constantmodule:module_datatable.definitionObject

module-datatable

Methods

staticmodule:module_datatable.display()

module-datatable

Sets up the layout for the datatable.
Requires:

Returns:


Triggered in module:main_core~chartBuilder.

staticmodule:module_datatable.interaction()

module-datatable

Sets up the option to show/hide the datatable (saves ressources when hidden and refreshing is disabled).
Requires:


Triggered in module:main_core~chartBuilder.

staticmodule:module_datatable.refreshTable()

module-datatable

Actualises the datatable when not hidden (saves ressources to hide it).
Requires:


Triggered in module:main_core~onFiltered.

staticmodule:module_datatable.setup()

module-datatable