",
"sInfo": "第 _START_ - _END_ 条 / 共 _TOTAL_ 条数据",
"sInfoEmpty": "没有匹配的数据...columnDefs: [
{targets: [3], orderable: false},//索引第3列禁止排序
],
.........searching:false,//隐藏搜索
columnDefs: [
{targets: [3], orderable: false},//索引第...dataIndex当前行的数据索引
createdRow:function (row, data, dataIndex) {
//行的最后一列 var let const...可以在模型中定义一个字段(我这里叫action)只要和你的colums:[{data:'action'}]对应就可以。使用laravel的模型属性和方法去实现。
<?