Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35272

Automatically create Same footer as header

$
0
0

$(document).ready(function()] {

var table=$('#resultSet').DataTable( {
    "data": <%=dataSet%>,
    "columns": <%=columnHeaders%>,
    "paging": true, 
    "ordering": true, 
    "info": true
} 
);  

} );

html tag: table id="resultSet" cellpadding="0" cellspacing="0" border="0" class="display"></table>

I want to automatically create footer same as header. So that i can create column filtering at footer. I dont want to explicitly create tfoot tag in table. it should automatically when column is created. can we do that??? what changes i sholud create in Datatable.js


Viewing all articles
Browse latest Browse all 35272

Trending Articles