在表分类器jQuery中对文件大小进行排序



我将在B, MB, GB, TB中的一列中具有文件大小。我使用的是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]] 
        }); 
        }
    });  

如何使列按文件大小排序?

查看表分类器的度量解析器。

最新更新