Lines Matching refs:index

351 	sort : function(table, index, order) {  argument
353 if(typeof index === 'number') {
358 index = Math.min(table.rows[0].cells.length, index);
359 index = Math.max(1, index);
360 index -= 1;
361 …> 0) ? $(table.tHead.rows[table.tHead.rows.length-1].cells[index]) : $(table.rows[0].cells[index]);
363 cell = $(index);
365 index = TableKit.getCellIndex(cell);
378 var datatype = TableKit.Sortable.getDataType(cell,index,table);
381 … * tkst[datatype].compare(TableKit.getCellText(a.cells[index]),TableKit.getCellText(b.cells[index]…
395 if(index === i) {
411 getDataType : function(cell,index,table) { argument
413 index = (index || index === 0) ? index : TableKit.getCellIndex(cell);
418 if(!cache[index]) {
431 cell = rows[0].cells[index]; // grab same index cell from body row to try and match data type
437 cache[index] = t;
439 return cache[index];
624 resize : function(table, index, w) { argument
626 if(typeof index === 'number') {
629 index = Math.min(table.rows[0].cells.length, index);
630 index = Math.max(1, index);
631 index -= 1;
632 …> 0) ? $(table.tHead.rows[table.tHead.rows.length-1].cells[index]) : $(table.rows[0].cells[index]);
634 cell = $(index);
636 index = TableKit.getCellIndex(cell);
748 editCell : function(table, index, cindex, event) { argument
750 if(typeof index === 'number') {
753 index = Math.min(table.tBodies[0].rows.length, index);
754 index = Math.max(1, index);
755 index -= 1;
759 row = $(table.tBodies[0].rows[index]);
762 cell = $(event ? Event.findElement(event, 'td') : index);