This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 19th, 2012  |  syntax: JavaScript  |  size: 0.60 KB  |  views: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         var table = $('#sorting-advanced');
  2.         table.dataTable({
  3.             'aoColumnDefs': [
  4.                 { 'bSortable': false, 'aTargets': [ 1, 2 ] }
  5.             ],
  6.             'sPaginationType': 'full_numbers',
  7.             'sDom': '<"dataTables_header"lfr>t<"dataTables_footer"ip>',
  8.             'fnInitComplete': function( oSettings )
  9.             {
  10.                 // Style length select
  11.                 table.closest('.dataTables_wrapper').find('.dataTables_length select').addClass('select blue-gradient glossy').styleSelect();
  12.                 tableStyled = true;
  13.             }
  14.         });
clone this paste RAW Paste Data