* Convert the index of an index in the data array and convert it to the visible * column index (take account of hidden columns) * @param {int} iMatch Column index to lookup * @param {object} oSettings dataTables settings object * @returns {int} i the data index * @memberof DataTable#
(oSettings, iMatch)
| 2050 | * @memberof DataTable#oApi |
| 2051 | */ |
| 2052 | function _fnColumnIndexToVisible(oSettings, iMatch) { |
| 2053 | var aiVis = _fnGetColumns(oSettings, "bVisible") |
| 2054 | var iPos = aiVis.indexOf(iMatch) |
| 2055 | |
| 2056 | return iPos !== -1 ? iPos : null |
| 2057 | } |
| 2058 | |
| 2059 | /** |
| 2060 | * Get the number of visible columns |
no test coverage detected