1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-20 18:54:15 +01:00

Performance changing sorting / filtering

This commit is contained in:
Allan Jardine 2011-12-06 10:38:23 +00:00
parent 30e018f398
commit 6c923e4953

View File

@ -38,9 +38,11 @@
//}
oTable.fnSort( [[ 1, 'asc' ]] );
oTable.fnSort( [[ 2, 'asc' ]] );
oTable.fnFilter(1);
oTable.fnSort( [[ 1, 'asc' ]] );
oTable.fnSort( [[ 2, 'asc' ]] );
//oTable.fnSort( [[ 2, 'asc' ]] );
//oTable.fnSort( [[ 1, 'asc' ]] );
//oTable.fnSort( [[ 2, 'asc' ]] );
var iEnd = new Date().getTime();
document.getElementById('output').innerHTML = "Test took "+(iEnd-iStart)+" mS";