Skip to content
ken210 edited this page Mar 31, 2011 · 6 revisions

If you want to use the dafault settings:

$("#myTable").adminTable();

or with you want to configure a custom adminTable

$("#myTable").adminTable({

// default to alternate lines
alternate : true,
	
// default to addCheckbox
checkRows : true,
	
// default to sort table
sortable : true,
	
// pagination defaults
paged : true,
perPage : 10,
currentPage : 1

});

Clone this wiki locally