I have a controller
Person
class Person extends CI_Controller { function __construct() { parent::__construct(); $this->load->database(); $this->load->helper('url'); $this->load->library('grocery_CRUD'); } public function Person_Info() { $crud = new grocery_CRUD(); $crud->set_table('tbl_person') ->set_subject('Person') ->columns('id_person','name','sexo','age','job'); $crud->set_primary_key('id_person','tbl_person'); //TRIED UNSETTING JQUERY BUT NO LUCK //$crud->unset_jquery(); //$crud->unset_jquery_ui(); $output = $crud->render(); $this->deploy($output); } function deploy($output = null) { //tried not loading header with js but no luck either //$this->load->view('header'); $this->load->view('view_person', $output); $this->load->view('footer'); } }
<div id="content-table-inner"><div style='height:20px;'></div><div><?php echo $output; ?></div><div class="clear"></div></div
<head> <?php foreach($css_files as $file): ?> <link type="text/css" rel="stylesheet" href="<?php echo $file; ?>" /> <?php endforeach; ?> <?php foreach($js_files as $file): ?> <script src="<?php echo $file; ?>"></script> <?php endforeach; ?>