Erencan1 / sortable

sortable javascript table

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sortable

Make HTML table interactive and sortable Check out table.js, it is easily customizable

    var example_sortingFunction = function (row) {
        var total = parseInt(row.cells[2].innerHTML) + parseInt(row.cells[3].innerHTML)
        var minutes = parseInt(row.cells[4].innerHTML)
        return -total/minutes;
    };

    stage({
        'table_id': 'exp_table_id', // HTMLTableElement id,
        'row_counter': 6, // row number to display on one page,
        'sortingFunction': example_sortingFunction, // leave null, if sorting is not needed when page is loaded
    });
    

About

sortable javascript table


Languages

Language:JavaScript 66.4%Language:HTML 24.7%Language:CSS 8.9%