Lines Matching refs:table

155             function buildParserCache(table, $headers) {  argument
157 if (table.config.debug) {
161 if (table.tBodies.length == 0) return; // In the case of empty tables
162 var rows = table.tBodies[0].rows;
178 } else if ((table.config.headers[i] && table.config.headers[i].sorter)) {
180 p = getParserById(table.config.headers[i].sorter);
184 p = detectParserForColumn(table, rows, -1, i);
187 if (table.config.debug) {
195 if (table.config.debug) {
202 function detectParserForColumn(table, rows, rowIndex, cellIndex) { argument
211 nodeValue = trimAndGetNodeText(table.config, node);
212 if (table.config.debug) {
220 if (parsers[i].is(nodeValue, table, node)) {
248 function buildCache(table) { argument
250 if (table.config.debug) {
254 var totalRows = (table.tBodies[0] && table.tBodies[0].rows.length) || 0,
255 … totalCells = (table.tBodies[0].rows[0] && table.tBodies[0].rows[0].cells.length) || 0,
256 parsers = table.config.parsers,
265 var c = $(table.tBodies[0].rows[i]),
270 if (c.hasClass(table.config.cssChildRow)) {
279 … cols.push(parsers[j].format(getElementText(table.config, c[0].cells[j]), table, c[0].cells[j]));
287 if (table.config.debug) {
322 function appendToTable(table, cache) { argument
324 if (table.config.debug) {
333 tableBody = $(table.tBodies[0]),
342 if (!table.config.appender) {
356 if (table.config.appender) {
358 table.config.appender(table, rows);
363 if (table.config.debug) {
368 applyWidget(table);
372 $(table).trigger("sortEnd");
377 function buildHeaders(table) { argument
379 if (table.config.debug) {
385 var header_index = computeTableHeaderCellIndexes(table);
387 $tableHeaders = $(table.config.selectorHeaders, table).each(function (index) {
391 this.order = formatSortingOrder(table.config.sortInitialOrder);
396 … if (checkHeaderMetadata(this) || checkHeaderOptions(table, index)) this.sortDisabled = true;
397 … (checkHeaderOptionsSortingLocked(table, index)) this.order = this.lockedOrder = checkHeaderOption…
400 var $th = $(this).addClass(table.config.cssHeader);
401 if (table.config.onRenderHeader) table.config.onRenderHeader.apply($th);
405 table.config.headerList[index] = this;
408 if (table.config.debug) {
463 function checkCellColSpan(table, rows, row) { argument
465 r = table.tHead.rows,
472 arr = arr.concat(checkCellColSpan(table, headerArr, row++));
474 if (table.tHead.length == 1 || (cell.rowSpan > 1 || !r[row + 1])) {
490 function checkHeaderOptions(table, i) { argument
491 if ((table.config.headers[i]) && (table.config.headers[i].sorter === false)) {
497 function checkHeaderOptionsSortingLocked(table, i) { argument
498 …if ((table.config.headers[i]) && (table.config.headers[i].lockedOrder)) return table.config.header…
502 function applyWidget(table) { argument
503 var c = table.config.widgets;
507 getWidgetById(c[i]).format(table);
539 function setHeadersCss(table, $headers, list, css) { argument
556 function fixColumnWidth(table, $headers) { argument
557 var c = table.config;
560 $("tr:first td", table.tBodies[0]).each(function () {
563 $(table).prepend(colgroup);
567 function updateHeaderSortCount(table, sortList) { argument
568 var c = table.config,
580 function multisort(table, sortList, cache) { argument
582 if (table.config.debug) {
600 …var s = (table.config.parsers[c].type == "text") ? ((order == 0) ? makeSortFunction("text", "asc",…
621 if (table.config.debug) {
629 if (table.config.debug) {
667 if (table.config.sortLocaleCompare) return a.localeCompare(b);
672 if (table.config.sortLocaleCompare) return b.localeCompare(a);
870 this.clearTableBody = function (table) { argument
876 empty.apply(table.tBodies[0]);
878 table.tBodies[0].innerHTML = "";
904 is: function (s, table) { argument
905 var c = table.config;
982 }, format: function (s, table) { argument
983 var c = table.config;
1009 }, format: function (s, table, cell) { argument
1010 var c = table.config,
1018 format: function (table) { argument
1019 if (table.config.debug) {
1025 $("tr:visible", table.tBodies[0]).each(function (i) {
1029 if (!$tr.hasClass(table.config.cssChildRow)) row++;
1032 table.config.widgetZebra.css[odd ? 0 : 1]).addClass(
1033 table.config.widgetZebra.css[odd ? 1 : 0])
1035 if (table.config.debug) {