title: Error in Grocery Crud while loading page
body: <p>Error:</p>
  
  <pre><code>Fatal error: Call to undefined method grocery_CRUD::set_js_lib() in assets/grocery_crud/themes/custom_checkbox_flexigrid/views/list_template.php on line 3
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>$this-&gt;set_css($this-&gt;default_theme_path.'/custom_checkbox_flexigrid/css/flexigrid.css');
  $this-&gt;set_js_lib($this-&gt;default_javascript_path.'/'.grocery_CRUD::JQUERY);
  
  $this-&gt;set_js_lib($this-&gt;default_javascript_path.'/jquery_plugins/jquery.noty.js');
  $this-&gt;set_js_lib($this-&gt;default_javascript_path.'/jquery_plugins/config/jquery.noty.config.js');
  $this-&gt;set_js_lib($this-&gt;default_javascript_path.'/common/lazyload-min.js');
  
  if (!$this-&gt;is_IE7()) {
      $this-&gt;set_js_lib($this-&gt;default_javascript_path.'/common/list.js');
  }
  
  $this-&gt;set_js($this-&gt;default_theme_path.'/custom_checkbox_flexigrid/js/cookies.js');
  $this-&gt;set_js($this-&gt;default_theme_path.'/custom_checkbox_flexigrid/js/flexigrid.js');
  $this-&gt;set_js($this-&gt;default_theme_path.'/custom_checkbox_flexigrid/js/jquery.form.js');
  $this-&gt;set_js($this-&gt;default_javascript_path.'/jquery_plugins/jquery.numeric.min.js');
  $this-&gt;set_js($this-&gt;default_theme_path.'/custom_checkbox_flexigrid/js/jquery.printElement.min.js');
  
  /** Fancybox */
  $this-&gt;set_css($this-&gt;default_css_path.'/jquery_plugins/fancybox/jquery.fancybox.css');
  $this-&gt;set_js($this-&gt;default_javascript_path.'/jquery_plugins/jquery.fancybox-1.3.4.js');
  $this-&gt;set_js($this-&gt;default_javascript_path.'/jquery_plugins/jquery.easing-1.3.pack.js');
  
  /** Jquery UI */
  $this-&gt;load_js_jqueryui();
  
  ?&gt;
  </code></pre>
  
  <p>In controller page i use the below code:</p>
  
  <pre><code>$crud = new grocery_CRUD();
                   $crud-&gt;unset_jquery();
          $crud-&gt;set_table('table name');
          $crud-&gt;display_as('userName','User name')-&gt;display_as('userEmail','User email')-&gt;display_as('aboutMe','About me')-&gt;display_as('donateDate','Donate date')-&gt;display_as('signUpDate','Signup date');
          $crud-&gt;set_theme('custom_checkbox_flexigrid');
          $crud-&gt;change_field_type('status','true_false');
          $crud-&gt;unset_add();
          //$crud-&gt;unset_delete();
          $crud-&gt;unset_export();
          $crud-&gt;unset_print();
          $crud-&gt;unset_columns('userpassword','albumOrder','albumsPerPage','albumsPerPageAdmin','friendsPerPage','keepUpdated','sendAdminUpdates','userType');
          $crud-&gt;edit_fields('userName','userEmail','aboutMe','status');
          $output =$crud-&gt;render();
          $css_files=array();
          $js_files=array();
          $css_files=array_merge($css_files,$output-&gt;css_files);
          $js_files=array_merge($js_files,$output-&gt;js_files);
          $title="Search users";
          $head_data = array('username'=&gt;'','last_login'=&gt;'','js_files' =&gt;$js_files, 'css_files' =&gt;$css_files,'title'=&gt;$title);
          $body_data=array('output' =&gt; $output-&gt;output);
          $this-&gt;load-&gt;view('admin/header',$head_data);
          $this-&gt;load-&gt;view('admin/searchuser',$body_data);
          $this-&gt;load-&gt;view('admin/footer');
  </code></pre>
  
  <p>where grocery crud use that pages shows the same error .
  If i try to add  $crud->unset_jquery(); i shows the same error</p>
  
  <p>also add 
  $crud->set_js_lib('admin/assets/grocery_crud/js/'.grocery_CRUD::JQUERY);
                       $crud->set_default_javascript_path('admin/assets/grocery_crud/js');
  it shows the eeror so i comment these two line and add unset_jquery but no effects, same error</p>