bootstrap表格用JS添加按键
###添加操作按钮oTableInit.operateFormatter = function(value, row, index) {var btns = [];btns.push('<a class="btn-xs a-default" style="margin-right: 3px; cursor:pointer;" name="btnDelete"οnclick="deleteTa
·
###添加操作按钮
oTableInit.operateFormatter = function(value, row, index) {
var btns = [];
btns.push('<a class="btn-xs a-default" style="margin-right: 3px; cursor:pointer;" name="btnDelete" οnclick="deleteTableInfo(\''+row.att_code + '\',\''+nodeid + '\')">删除</ a>');
return btns.join('');
};
更多推荐
已为社区贡献1条内容
所有评论(0)