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

Function _fnWriteCell

external/.datatables.js:2581–2587  ·  view source on GitHub ↗

* Write a value to a cell * @param {*} td Cell * @param {*} val Value

(td, val)

Source from the content-addressed store, hash-verified

2579 * @param {*} val Value
2580 */
2581 function _fnWriteCell(td, val) {
2582 if (val && typeof val === "object" && val.nodeName) {
2583 $(td).empty().append(val)
2584 } else {
2585 td.innerHTML = val
2586 }
2587 }
2588
2589 // Private variable that is used to match action syntax in the data property object
2590 var __reArray = /\[.*?\]$/

Callers 3

_columnAutoRenderFunction · 0.85
_fnInvalidateFunction · 0.85
_fnCreateTrFunction · 0.85

Calls 1

$Function · 0.70

Tested by

no test coverage detected