Well, before i get started, im sorry for bad english yet my little knowledge in programming especially on codeigniter that i've been working on 2 weeks.
then i found the datatables. i found it interesting if i can integrate--or anything you guys called it-- the datatables with the codeigniter.
i downloaded the ignited-datatables, attached it, and yet it still not working on my project.
some help please? im new to codeigniter and datatables. i'll appreciate all of the answers, though.
P.S : just ask it if you guys need the code, i'll show you ;)
Do you know www.datatables.net? You can include javascript & css (local installation):
<!-- DataTables CSS -->
<link href="<?php echo base_url('assets/css/plugins/dataTables/jquery.dataTables.css') ?>" rel="stylesheet" />
<!-- jQuery -->
<script src="<?php echo base_url('assets/js/jquery-1.10.2.min.js') ?>"></script>
<!-- DataTables JS -->
<script src="<?php echo base_url('assets/js/plugins/dataTables/jquery.dataTables.min.js') ?>"></script>
Then, inside your table:
<table id="dataTables-example"> ...</table>
Finally, the script:
$(document).ready( function () {
$('#dataTables-example').DataTable();
} );