You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an addition to the Ignited Datatables. It's on my fork: https://github.com/blagi/Ignited-Datatables/
I don't know how to post it here. Please help. Also some testing, style modification and integration to this original are welcomed.
Added public var $queryResult. Added two public methods:
generateResult() and produceOutputFromResult().
Now Datatables can be
called in another way:
$this->load->library("Datatables");
$this->datatables
->select("id as DT_RowId, email, last_login")
I have an addition to the Ignited Datatables. It's on my fork:
https://github.com/blagi/Ignited-Datatables/
I don't know how to post it here. Please help. Also some testing, style modification and integration to this original are welcomed.
Added public var $queryResult. Added two public methods:
generateResult() and produceOutputFromResult().
Now Datatables can be
called in another way:
$this->load->library("Datatables");
$this->datatables
->select("id as DT_RowId, email, last_login")
->from('user');
// echo $this->datatables->generate();
$raw_data = $this->datatables->generateResult();
foreach ($raw_data->result() as $row) {
$row->last_login_display = date('d.m.Y H:i', strtotime($row->last_login));
}
$res = $this->datatablesb->produceOutputFromResult();
echo $res;
The text was updated successfully, but these errors were encountered: