ポップアップボックスを持つjqueryデータテーブルを表示したかったので、以下に示す方法に従いましたが、これはコントローラーです...しかし、これは機能しません。障害は、この種類の add_column の正確な構文である add_column にあります。
function random()
{
$this->datatables
->select('c.first_name,o.id')
->from('orders as o')
->add_column(
echo anchor('admin/storedprod/cancel/`o.customer_user_id`', 'cancel', array('onClick' => "return confirm('Are you sure you want to delete?')"))
);
echo $this->datatables->generate();
}