Lines Matching defs:sorttable
2 Based on code from http://www.kryogenix.org/code/browser/sorttable/ by Stuart Langridge
14 var sorttable = {
27 sorttable.makeSortable( elem );
34 sorttable.makeSortableDiv( elem );
42 sorttable.reinit();
89 sorttable.makeSortable( elem, overs, bottoms, ph2 );
102 sorttable.defaultSort( elem, colid, revs );
136 row_array[row_array.length] = [sorttable.getInnerText( rows[j].cells[col] ), rows[j]];
139 //sorttable.shaker_sort(row_array, this.sorttable_sortfunction);
149 sorttable.reverse( thiscell.sorttable_tbody, sindex );
203 if ( mtch && typeof sorttable["sort_" + override] === 'function' ) {
204 headrow[i].sorttable_sortfunction = sorttable["sort_" + override];
206 headrow[i].sorttable_sortfunction = sorttable.guessType( table, i );
219 sorttable.reverse( this.sorttable_tbody, this.sindex );
226 sorttable.original_order( this.sorttable_tbody, this.sindex );
239 sorttable.reverse( this.sorttable_tbody, this.sindex );
267 row_array[row_array.length] = [sorttable.getInnerText( rows[j].cells[col] ), rows[j]];
270 //sorttable.shaker_sort(row_array, this.sorttable_sortfunction);
292 var text = sorttable.getInnerText( table.tBodies[0].rows[i].cells[column] );
306 return sorttable.sort_alpha;
308 return sorttable.sort_numeric;
310 return sorttable.sort_ipaddr;
311 return sorttable.sort_date;
316 // this is *not* a generic getInnerText function; it's special to sorttable.
342 innerText += sorttable.getInnerText( node.childNodes[i] );
373 //sorttable.shaker_sort(row_array, this.sorttable_sortfunction);
375 row_array.sort( sorttable.sort_alpha );
459 window.addEvent( window, "load", sorttable.init );
462 sorttable.init();