Sha256: 21d7302d9723b9ca5f52af2d883501415befcb6787c9f60952dcae47e0ee766a
Contents?: true
Size: 936 Bytes
Versions: 1
Compression:
Stored size: 936 Bytes
Contents
$(function() { $('#ucb_rails_users').dataTable({ "sDom": "<'row'<'span6'l><'span6'f>r>t<'row'<'span6'i><'span6'p>>", "sPaginationType": "bootstrap", "bProcessing": true, "bServerSide": true, "sAjaxSource": $('#ucb_rails_users').data('url'), "bStateSave": true, "iDisplayLength": 20, "oLanguage": { "sSearch": "First or Last Name starts with:" }, "aLengthMenu": [[20, 50, 100, 1000], [20, 50, 100, 1000]], "aaSorting": [[ 5, "desc" ]], "aoColumnDefs": [ { "aDataSort": [ 0, 2, 3 ], "aTargets": [ 0 ] }, // admin { "aDataSort": [ 1, 2, 3 ], "aTargets": [ 0 ] }, // active { "aDataSort": [ 2, 3 ], "aTargets": [ 2 ] }, // first name { "aDataSort": [ 3, 2], "aTargets": [ 3 ] }, // last name { "bSortable": false, "aTargets": [ 8 ] }, // edit { "bSortable": false, "aTargets": [ 9 ] }, // delete ] }).fnSetFilteringDelay(250); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ucb_rails-0.0.14 | lib/generators/ucb_rails/templates/app/assets/javascripts/ucb_rails/users_datatable.js |