Ignited Datatables is a wrapper class/library based on the native Datatables server-side implementation by Allan Jardine found at http://datatables.net/examples/data_sources/server_side.html for CodeIgniter
285
stars
335
forks
source link
Shorting Searching not working in codeigniter 3.0.6 #114
This library working on CodeIgniter version 2.1.3. Similar code not working in CodeIgniter version 3.0.6.
view page code:-
<?php $this->load->view('includes/header'); $this->load->view('includes/left_sidebar'); $this->load->view('includes/navigation'); ?>
Basic Data Tables example with responsive plugin
<?php $this->load->view('includes/footer'); ?>
Controller static-content/customerlist :-
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
*/ class Static_content extends CI_Controller {
public function construct() { parent::construct(); $this->load->library('Datatables'); $this->load->model('Static_content_model'); }
/**
/* -- Mainly scripts -- _/ $data['js_include'][] = ''; $data['js_include'][] = ''; $data['js_include'][] = ''; /_ */ $data['js_include'][] = ''; $data['style_include'][] = ''; $data['style_include'][] = '';
return $data; }
public function add() {
// var_dump($_POST); // echo $this->validate_content($this->input->post('content'));
// print_r($this->input->post());
// print_r($data); exit;
// $userInfo = $this->user_model->isExitsEmail($this->input->post('email'));
// print_r($data); exit; // mail } else {
// print_r($data);
// $string = $this->parser->parse('static_content/static_content_form', $data); $this->load->view('static_content/static_content_form', $data); }
}
shorting searching not working