• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to do ORDER BY in DATATABLES Active Record

#1
[eluser]ginteno[/eluser]
How to do ORDER BY in DATATABLES Active Record to sort my data field on load..

$this->datatables->select('SELECT VALUES');
$this->datatables->from('TABLE');
$this->datatables->order_by('FIELD','DESC'); // I DONT SEE THIS on the Datatable Library..
$this->datatables->generate();

Can somebody help me??? Thanks in advance...


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.