title: Laravel Chumper datatables.net
body: <p>i'm newbie in laravel and  want to use datatables.net. i want to using <a href="https://github.com/Chumper/Datatable" rel="nofollow">chumper</a> datatables.net in my projects? after installing that. how to use or update this code for server side (sAjaxSource)?</p>
  
  <pre><code>    oTable_categories =$('#showCategories').dataTable({
          "bLengthChange": false,
          "iDisplayLength": 6,                              
          "bScrollCollapse": true,      
          "bJQueryUI": true,
          "bAutoWidth": false,
          "sAjaxSource": "server_processing.php",
          "sPaginationType": "full_numbers",
          "bProcessing": true,
  
          "fnDrawCallback": function() {
                      clickRowHandler_categories();
              },   
          "fnServerParams": function ( aoData ) {
            aoData.push(
                           {"name": "id"   ,     "value": "id" },        
                           {"name": "title"   ,  "value": "title" },
                           {"name": "join"   ,   "value": "" },
                           {"name": "action"   , "value": "categories" }
            )}
          });  
          function clickRowHandler_categories() {
              $('#showCategories tbody tr').bind('click', function () {
                  var aData = oTable_categories.fnGetData( this );
                  if ( aData == null ) return false;
                  iId_categories = aData[0];
              });
          }
  </code></pre>
  
  <p>i must be define new route such as :</p>
  
  <pre><code>Route::controller(
              'mediaManagment','mediaManagmentController',
                  array(
                          'getIndex'               =&gt; 'mediaManagment.index',
                          'postUpdate'             =&gt; 'mediaManagment.update',
                       )
                   );
  </code></pre>
  
  <p>i do not know how to use that.
  thanks</p>