Skip to content

Commit

Permalink
datatable sorting and pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
dorton committed Jul 8, 2012
1 parent ac10940 commit c612816
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion app/assets/javascripts/hisd_employees.js.coffee
Expand Up @@ -3,4 +3,6 @@
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/

jQuery ->
$('#hisd').dataTable()
$('#hisd').dataTable
"aaSorting": [[ 0, "desc" ]]
"sPaginationType": "full_numbers"
4 changes: 3 additions & 1 deletion app/assets/javascripts/student_check_outs.js.coffee
Expand Up @@ -3,4 +3,6 @@
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/

jQuery ->
$('#checkout').dataTable()
$('#checkout').dataTable
"aaSorting": [[ 0, "desc" ]]
"sPaginationType": "full_numbers"
7 changes: 3 additions & 4 deletions app/assets/javascripts/visitors.js.coffee
Expand Up @@ -3,7 +3,6 @@
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/

jQuery ->
$('#visitors').dataTable()



$('#visitors').dataTable
"aaSorting": [[ 0, "desc" ]]
"sPaginationType": "full_numbers"

0 comments on commit c612816

Please sign in to comment.