Namespace: models - documentation

# Namespace: models

## Ancestry: DataTable. » models

DataTables v1.9.1 documentation

Object models container, for the various models that DataTables has available to it. These models define the objects that are used to hold the active state and configuration of the table.

## Summary

### Namespaces

ext
  DataTables extension options and plug-ins. This namespace acts as a collection "area" for plug-ins that can be used to extend the default DataTables behaviour - indeed many of the build in methods use this method to provide their own capabilities (sorting methods for example).
  Note that this namespace is aliased to jQuery.fn.dataTableExt so it can be readily accessed and modified by plug-ins.
oColumn
  Template object for the column information object in DataTables. This object is held in the settings aoColumns array and contains all the information that DataTables needs about each individual column.
  Note that this object is related to DataTable.defaults.columns but this one is the internal data store for DataTables's cache of columns. It should NOT be manipulated outside of DataTables. Any configuration should be done through the initialisation options.
oRow
  Template object for the way in which DataTables holds information about each individual row. This is the object format used for the settings aoData array.
oSearch
  Template object for the way in which DataTables holds information about search information for the global filter and individual column filters.
oSettings
  DataTables settings object - this holds all the information needed for a given table, including configuration, data and current application of the table options. DataTables does not have a single instance for each DataTable with the settings attached to that instance, but rather instances of the DataTable "class" are created on-the-fly as needed (typically by a $().dataTable() call) and the settings object is then applied to that instance.
  Note that this object is related to DataTable.defaults but this one is the internal data store for DataTables's cache of columns. It should NOT be manipulated outside of DataTables. Any configuration should be done through the initialisation options.