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

Function _fnVisibleToColumnIndex

external/.datatables.js:2038–2042  ·  view source on GitHub ↗

* Convert the index of a visible column to the index in the data array (take account * of hidden columns) * @param {object} oSettings dataTables settings object * @param {int} iMatch Visible column index to lookup * @returns {int} i the data index * @memberof DataTable#oApi

(oSettings, iMatch)

Source from the content-addressed store, hash-verified

2036 * @memberof DataTable#oApi
2037 */
2038 function _fnVisibleToColumnIndex(oSettings, iMatch) {
2039 var aiVis = _fnGetColumns(oSettings, "bVisible")
2040
2041 return typeof aiVis[iMatch] === "number" ? aiVis[iMatch] : null
2042 }
2043
2044 /**
2045 * Convert the index of an index in the data array and convert it to the visible

Callers 3

_fnScrollDrawFunction · 0.85
runFunction · 0.85
.datatables.jsFile · 0.85

Calls 1

_fnGetColumnsFunction · 0.85

Tested by

no test coverage detected