MCPcopy Create free account
hub / github.com/breck7/scroll / _fnInitComplete

Function _fnInitComplete

external/.datatables.js:4433–4448  ·  view source on GitHub ↗

* Draw the table for the first time, adding all required features * @param {object} settings dataTables settings object * @memberof DataTable#oApi

(settings)

Source from the content-addressed store, hash-verified

4431 * @memberof DataTable#oApi
4432 */
4433 function _fnInitComplete(settings) {
4434 if (settings._bInitComplete) {
4435 return
4436 }
4437
4438 var args = [settings, settings.json]
4439
4440 settings._bInitComplete = true
4441
4442 // Table is fully set up and we have data, so calculate the
4443 // column widths
4444 _fnAdjustColumnSizing(settings)
4445
4446 _fnCallbackFire(settings, null, "plugin-init", args, true)
4447 _fnCallbackFire(settings, "aoInitComplete", "init", args, true)
4448 }
4449
4450 function _fnLengthChange(settings, val) {
4451 var len = parseInt(val, 10)

Callers 3

_fnAjaxUpdateDrawFunction · 0.85
_fnInitialiseFunction · 0.85
__reloadFunction · 0.85

Calls 2

_fnAdjustColumnSizingFunction · 0.85
_fnCallbackFireFunction · 0.85

Tested by

no test coverage detected