Sunday, August 12, 2012

JQuery Datatable

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table. Key features:
So how easy is it to use DataTables? Take a peek at the code below, a single function call to initialise the table is all it takes:
1
2
3
4
5
6
/*
 * Example init
 */
$(document).ready(function(){
    $('#example').dataTable();
});
An example of DataTables in action is shown below with a table of CSS browser grading as used by Conditional-CSS.

DataTables around the web

No comments:

Post a Comment