3

Laravel Datatable を使用しています。並べ替えが機能していません。誰か助けてください。

コントローラ

Table::select(array( DB::raw('table2.con_title'),
    DB::raw('........
Datatables::of(----)->make();

意見

.dataTable({ "bProcessing": true, "bServerSide": true, "sAjaxSource": ajaxurl,

"aoColumnDefs": [ { mData:'table2.con_title' , aTargets: [0]},.......

エラーDataTables 警告 (テーブル ID = '-----'): 行 0 のデータ ソースから不明なパラメーター 'table2.con_title' を要求しました

4

2 に答える 2