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

Function _fnGetRowDisplay

external/.datatables.js:2826–2840  ·  view source on GitHub ↗

* Render and cache a row's display data for the columns, if required * @returns

(settings, rowIdx)

Source from the content-addressed store, hash-verified

2824 * @returns
2825 */
2826 function _fnGetRowDisplay(settings, rowIdx) {
2827 var rowModal = settings.aoData[rowIdx]
2828 var columns = settings.aoColumns
2829
2830 if (!rowModal.displayData) {
2831 // Need to render and cache
2832 rowModal.displayData = []
2833
2834 for (var colIdx = 0, len = columns.length; colIdx < len; colIdx++) {
2835 rowModal.displayData.push(_fnGetCellData(settings, rowIdx, colIdx, "display"))
2836 }
2837 }
2838
2839 return rowModal.displayData
2840 }
2841
2842 /**
2843 * Create a new TR element (and it's TD children) for a row

Callers 3

_fnInvalidateFunction · 0.85
_fnCreateTrFunction · 0.85
_fnGetMaxLenStringFunction · 0.85

Calls 1

_fnGetCellDataFunction · 0.85

Tested by

no test coverage detected