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

Function _fnColumnSizes

external/.datatables.js:2020–2028  ·  view source on GitHub ↗

* Apply column sizes * * @param {*} settings DataTables settings object

(settings)

Source from the content-addressed store, hash-verified

2018 * @param {*} settings DataTables settings object
2019 */
2020 function _fnColumnSizes(settings) {
2021 var cols = settings.aoColumns
2022
2023 for (var i = 0; i < cols.length; i++) {
2024 var width = _fnColumnsSumWidth(settings, [i], false, false)
2025
2026 cols[i].colEl.css("width", width)
2027 }
2028 }
2029
2030 /**
2031 * Convert the index of a visible column to the index in the data array (take account

Callers 1

_fnAdjustColumnSizingFunction · 0.85

Calls 1

_fnColumnsSumWidthFunction · 0.85

Tested by

no test coverage detected