Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

datatable index column server side

table.on('draw.dt', function () {
    var info = table.page.info();
    table.column(0, { search: 'applied', order: 'applied', page: 'applied' }).nodes().each(function (cell, i) {
        cell.innerHTML = i + 1 + info.start;
    });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datatable #index #column #server #side
ADD COMMENT
Topic
Name
7+3 =