Skip to content

Home

cryogenix edited this page Aug 3, 2011 · 29 revisions
Clone this wiki locally

IgnitedDatatables

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

Discuss: http://codeigniter.com/forums/viewthread/160896/

Features

  1. Easy to use. Generates json using only a few lines of code.
  2. Support for table joins (left, right, outer, inner, left outer, right outer).
  3. Able to define custom columns, and filters.
  4. Editable custom variables with callback function support.
  5. Supports generation of tables using non utf-8 charsets.

Requirements

jQuery 1.5+
DataTables 1.7+
CodeIgniter "Reactor"

Installation

To install the library, copy the libraries/datatables.php file into your application/libraries folder.

Usage and Examples

Function Reference
Method Chaining

License

DON'T BE A DICK PUBLIC LICENSE

Version 1, December 2009

Copyright (C) 2009 Philip Sturgeon <email@philsturgeon.co.uk>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DON'T BE A DICK PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

1. Do whatever you like with the original work, just don't be a dick.

Being a dick includes - but is not limited to - the following instances:

1a. Outright copyright infringement - Don't just copy this and change the name.   
1b. Selling the unmodified original with no work done what-so-ever, that's REALLY being a dick.   
1c. Modifying the original work to contain hidden harmful content. That would make you a PROPER dick.

2. If you become rich through modifications, related works/services, or supporting the original work,
share the love. Only a dick would make loads off this work and not buy the original works
creator(s) a pint.

3. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes
you a DONKEY dick. Fix the problem yourself. A non-dick would submit the fix back.
Something went wrong with that request. Please try again.