0
我将在B, MB, GB, TB
的列中包含文件大小。我正在使用jQuery tablesorter。现在我正在使用桌面分拣机:在表排序器jQuery中对文件大小进行排序?
$(document).ready(function() {
// call the tablesorter plugin
if ($("#product-table tbody td").length > 0){
$("table").tablesorter({
// sort on the first column and third column, order asc
sortList: [[0,0],[2,0]]
});
}
});
如何根据文件大小对列进行排序?