Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- ...
- ...
- // Retrieve all records for the first time
- // Converts table to DataTable as well
- $.getRecords('#eventTable', '${rootUrl}event/getall',
- ['id', 'name', 'description', 'participants', 'date'],
- function() {
- $('#eventTable').dataTable( {
- "bJQueryUI": true,
- "sPaginationType": "full_numbers"
- });
- });
- });
Add Comment
Please, Sign In to add comment