In fnDrawCallback, why is this.DataTable.settings an array?

In fnDrawCallback, why is this.DataTable.settings an array?

robertbrowerrobertbrower Posts: 158Questions: 1Answers: 0
edited November 2013 in General
In fnDrawCallback, why is this.DataTable.settings an array?

Thanks,

Robert

Replies

  • allanallan Posts: 63,540Questions: 1Answers: 10,476 Site admin
    Its the original source of the `jQuery.fn.dataTable.settings` object. iT is attached to the DataTable alias (which itself is a short cut for the DataTables internals, so it compresses a bit smaller).

    From its doc comment:

    [quote]
    * Private data store, containing all of the settings objects that are created for the
    * tables on a given page.
    *
    * Note that the DataTable.settings object is aliased to jQuery.fn.dataTableExt
    * through which it may be accessed and manipulated, or jQuery.fn.dataTable.settings.
    [/quote]

    Generally you don't want to use it... The settings object should be avoided as much as possible.

    Allan
  • robertbrowerrobertbrower Posts: 158Questions: 1Answers: 0
    Understood. Thanks.

    Robert
This discussion has been closed.