添加表格动态增删改查示例

This commit is contained in:
RuoYi
2019-06-18 21:56:08 +08:00
parent 1c235dc7f6
commit 7d6cdabc09
8 changed files with 282 additions and 24 deletions

View File

@ -210,7 +210,7 @@
that.$fixedBody.find('tbody tr:eq(' + i + ')').height($(this).height());
});
$("#" + $.table._option.id).on("check.bs.table uncheck.bs.table", function (e, rows, $element) {
$.btTable.on("check.bs.table uncheck.bs.table", function (e, rows, $element) {
var index= $element.data('index');
$(this).find('.bs-checkbox').find('input[data-index="' + index + '"]').prop("checked", true);
var selectFixedItem = $('.left-fixed-table-columns input[name=btSelectItem]');