table.on('tool(hostTable)', function (obj) { var data = obj.data;//须写 if (obj.event === 'del') { var parents = $(this).parents('.elementClass'); operateId = $(parents).attr('id'); layer.confirm('确认删除么', function (index) { 1.找到删除按钮所在的父元素,以确定是哪一个表格tabl
效果如下图,本人网上搜索资料加上自己的研究终于实现了在combobox子项中加上删除按钮. 一.窗体中的代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropS