MCPcopy Create free account
hub / github.com/apache/storm / dtAutoPage

Function dtAutoPage

storm-webapp/src/main/webapp/js/script.js:121–126  ·  view source on GitHub ↗
(selector, conf)

Source from the content-addressed store, hash-verified

119
120var minEntriesToShowPagination = 20;
121function dtAutoPage(selector, conf) {
122 if ($(selector.concat(" tr")).length <= minEntriesToShowPagination) {
123 $.extend(conf, {paging: false});
124 }
125 return $(selector).DataTable(conf);
126}
127
128function renderIntegerWithCommas(data, type) {
129 if (type !== 'display' && type !== 'filter') {

Callers 1

makeOwnerSummaryTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected