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

Function _headerFormatter

external/.datatables.js:15178–15190  ·  view source on GitHub ↗
(formatter, struct)

Source from the content-addressed store, hash-verified

15176 }
15177
15178 function _headerFormatter(formatter, struct) {
15179 for (var i = 0; i < struct.length; i++) {
15180 for (var j = 0; j < struct[i].length; j++) {
15181 var item = struct[i][j]
15182
15183 if (item) {
15184 item.title = formatter(item.title, j, item.cell)
15185 }
15186 }
15187 }
15188
15189 return struct
15190 }
15191
15192 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
15193 * DataTables interface

Callers 1

_exportDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected