ajax修改按钮的html值,表格行的按钮AJAX后,怎么修改表格当前行的值
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){ //成功的回調(diào) $('#table').bootstrapTable('updateCell', {index:6,field:'step',value:11});
}
},
我想知道這個(gè)$('#table').bootstrapTable('updateCell', {index:6,field:'step',value:11}); 里面的index:6怎么替換為當(dāng)前行的index,也就是按鈕所在的行。 },
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的ajax修改按钮的html值,表格行的按钮AJAX后,怎么修改表格当前行的值的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 华为鸿蒙升级了,鸿蒙系统暂缓升级,但从火
- 下一篇: 计算机网络在线测试第二章,进行测验:-第