Skip to content

Instantly share code, notes, and snippets.

@simkimsia
Created May 1, 2018 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simkimsia/dfb3919e210b6dfa7fd0d261ea5f1a8e to your computer and use it in GitHub Desktop.
Save simkimsia/dfb3919e210b6dfa7fd0d261ea5f1a8e to your computer and use it in GitHub Desktop.
Possible config for tableup
// inspired by datatables.net
// see https://datatables.net/examples/basic_init/filter_only.html for example
$(document).ready(function() {
$('#example').TableUp( {
"paging": true,
"rowsPerPageOptions": [2, 5, 10],
"rowsPerPage": 5,
"checkbox": true,
"search": true
} );
} );
var tableConfig = {
paging: true,
rowsPerPageOptions: [2, 5, 10],
rowsPerPage: 5,
checkbox: true,
search: true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment