title: Bootgrid search and pagination not working
body: <p>So I have a data.json I have render in my bootgrid table . The data are displayed correctly but the search and pagination functionality of bootgrid is not working.</p>
  
  <p>here is my my script in rendering in html bootgrid table</p>
  
  <pre><code>&lt;?php include'includes/header.php';?&gt;
  &lt;?php include'includes/topnav.php';?&gt;
  &lt;div class="card" style="margin-top:5%"&gt;
     &lt;div class="card-header"&gt;
        &lt;h2 class="text-center"&gt;First Semester S.Y 2016-2017&lt;span class="c-orange"&gt;(Midterm)&lt;/span&gt;
        &lt;/h2&gt;
     &lt;/div&gt;
     &lt;table id="data-table-command" class="table table-striped table-vmiddle"   &gt;
        &lt;thead&gt;
           &lt;tr&gt;
              &lt;th data-column-id="edp"&gt;EDP Code&lt;/th&gt;
              &lt;th data-column-id="subject"&gt;Subject&lt;/th&gt;
              &lt;th data-column-id="time"&gt;Time&lt;/th&gt;
              &lt;th data-column-id="days"&gt;Days&lt;/th&gt;
              &lt;th data-column-id="room"&gt;Room&lt;/th&gt;
              &lt;th data-column-id="dept"&gt;Dept&lt;/th&gt;
              &lt;th data-column-id="units"&gt;Units&lt;/th&gt;
              &lt;th data-column-id="size"&gt;Size&lt;/th&gt;
              &lt;th data-column-id="status"&gt;Status&lt;/th&gt;
              &lt;th data-column-id="commands" data-formatter="commands" data-sortable="false"&gt;Action&lt;/th&gt;
           &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tbody&gt;
        &lt;/tbody&gt;
     &lt;/table&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/section&gt;
  &lt;/section&gt;
  &lt;!-- Page Loader --&gt;
  &lt;div class="page-loader"&gt;
     &lt;div class="preloader pls-blue"&gt;
        &lt;svg class="pl-circular" viewBox="25 25 50 50"&gt;
           &lt;circle class="plc-path" cx="50" cy="50" r="20" /&gt;
        &lt;/svg&gt;
        &lt;p&gt;Please wait...&lt;/p&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="modal fade" id="modalNarrower" tabindex="-1" role="dialog" aria-hidden="true"&gt;
     &lt;div class="modal-dialog modal-sm"&gt;
        &lt;div class="modal-content"&gt;
           &lt;div class="modal-header"&gt;
  
  
  
  
              &lt;h4 class="modal-title"&gt;Modal title&lt;/h4&gt;
           &lt;/div&gt;
           &lt;div class="modal-body"&gt;
              &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin sodales
                 orci ante, sed ornare eros vestibulum ut. Ut accumsan vitae eros sit
                 amet tristique. Nullam scelerisque nunc enim, non dignissim nibh
                 faucibus ullamcorper. Fusce pulvinar libero vel ligula iaculis
                 ullamcorper. Integer dapibus, mi ac tempor varius, purus nibh mattis
                 erat, vitae porta nunc nisi non tellus. Vivamus mollis ante non massa
                 egestas fringilla. Vestibulum egestas consectetur nunc at ultricies.
                 Morbi quis consectetur nunc.
              &lt;/p&gt;
           &lt;/div&gt;
           &lt;div class="modal-footer"&gt;
              &lt;button type="button" class="btn btn-link"&gt;Save changes&lt;/button&gt;
              &lt;button type="button" class="btn btn-link" data-dismiss="modal"&gt;Close
              &lt;/button&gt;
           &lt;/div&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  
     &lt;div class="page-loader"&gt;
              &lt;div class="preloader pls-blue"&gt;
                  &lt;svg class="pl-circular" viewBox="25 25 50 50"&gt;
                      &lt;circle class="plc-path" cx="50" cy="50" r="20" /&gt;
                  &lt;/svg&gt;
  
                  &lt;p&gt;Please wait...&lt;/p&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  &lt;!-- Transfer to footer then --&gt;
  &lt;script src="vendors/bower_components/jquery/dist/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendors/bower_components/bootstrap/dist/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendors/bower_components/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendors/bower_components/Waves/dist/waves.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendors/bootstrap-growl/bootstrap-growl.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendors/bower_components/sweetalert/dist/sweetalert.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendors/bootgrid/jquery.bootgrid.updated.min.js"&gt;&lt;/script&gt;
  
  &lt;script src="vendors/bootgrid/jquery.bootgrid.fa.js"&gt;&lt;/script&gt;
  &lt;script src="vendors/bootgrid/jquery.bootgrid.js"&gt;&lt;/script&gt;
  &lt;!-- Data Table --&gt;
  &lt;script type="text/javascript"&gt;
      $(document).ready(function(){
  
          //Command Buttons
          // WILL GET THE DATA.JSON FILE AND LOAD THE DETAILS TO DISPLAY INTO THE TABLE
          $("#data-table-command").bootgrid({
              css: {
                  icon: 'zmdi icon',
                  iconColumns: 'zmdi-view-module',
                  iconDown: 'zmdi-sort-amount-desc',
                  iconRefresh: 'zmdi-refresh',
                  iconUp: 'zmdi-sort-amount-asc'           
              },
              ajax: true,
              ajaxSettings: {
                  method: "GET",
                  cache: false
              },
              url: "data.json",
              formatters: {
                      "commands": function(column, row) {
                      return "&lt;button type=\"button\" class=\"btn btn-sm bgm-green command-edit waves-effect\" data-row-id=\"" + row.id + "\"&gt;View&lt;/button&gt; " ;
                  }
              }
          });
  
      });
  &lt;/script&gt;  
  
  &lt;script src="js/app.min.js"&gt;&lt;/script&gt;
  
  &lt;/div&gt;    
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and this is my data.json</p>
  
  <pre><code>{
    "current": 1,
    "rowCount": 10,
    "rows": [
      {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
      {
        "edp": "20438",
        "subject": "COMPROG21 - LEC",
        "time": "11:30AM - 12:30 PM",
        "days": "MWF",
        "room": "614",
        "dept": "IT",
        "units": "3.0",
        "size": "49",
        "status": "APPROVED"
      },
      {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
  
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
  
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
  
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
  
       {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      },
      {
        "edp": "19372",
        "subject": "ITFUND11 - LEC",
        "time": "4:30PM - 5:30 PM",
        "days": "MW",
        "room": "530B",
        "dept": "IT",
        "units": "3.0",
        "size": "48",
        "status": "APPROVED"
      }
    ]
  }
  </code></pre>