field: 'operate', title: __('Operate'), buttons: [ { name: 'commit', title: "提交审核", text: "提交审核", extend: "data-area='[\"\90%\"\,\"\90%\"\]'", url: 'crm/leads/commit', icon: 'fa fa-table', classname:'btn btn-info btn-xs btn-execute btn-ajax', hidden:function(row){ if(row.step!=10){ return true; } return false; },
success:function(data, ret){ //成功的回调 $('#table').bootstrapTable('updateCell', {index:6,field:'step',value:11});
}
},
我想知道这个$('#table').bootstrapTable('updateCell', {index:6,field:'step',value:11}); 里面的index:6怎么替换为当前行的index,也就是按钮所在的行。 },