Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var dataSet = [
- [ "Tiger Nixon", "System Architect", "Edinburgh", "5421", "2011/04/25", "$320,800" ],
- [ "Garrett Winters", "Accountant", "Tokyo", "8422", "2011/07/25", "$170,750" ],
- [ "Ashton Cox", "Junior Technical Author", "San Francisco", "1562", "2009/01/12", "$86,000" ]
- ];
- $(document).ready(function() {
- $('#example').DataTable( {
- data: dataSet,
- columns: [
- { title: "Name" },
- { title: "Position" },
- { title: "Office" },
- { title: "Extn." },
- { title: "Start date" },
- { title: "Salary" }
- ]
- } );
- } );
Add Comment
Please, Sign In to add comment