I follow tutorial ignited datatables https://github.com/IgnitedDatatables/Ignited-Datatables/wiki/Function-Reference
function datatables() {
$this->datatables
->select('TerminalID,AtmLocation,MaxNumOfBills1,MaxNumOfBills2')
->from('terminalset');
header('Content-Type: application/json');
echo $this->datatables->generate();
}
and I have trouble when I use stored procedures like this:
$this->db->query('proc_request "$parameter"');
How to call stored procedure in an ignited datatable?
How do I add a query function in libraries datatables.php? https://github.com/IgnitedDatatables/Ignited-Datatables/blob/master/application/libraries/Datatables.php