zepernick / Codeigniter-DataTables

CodeIgniter Library For Ajax Server Side DataTables 1.10 >
MIT License
93 stars 94 forks source link

Add a filter param when loading the datatable library #29

Open Lasvad opened 8 years ago

Lasvad commented 8 years ago

allows for dynamic where clause generation when initializing Datatable library

$this -> load -> library('Datatable', array('model' => 'temp_datatable_model', 'filter' => [ 'email_sent_timestamp' => NULL], 'rowIdCol' => 'person.id'));