Tag: chooser

将自定义按钮添加到jqGrid ColumnChooser对话框中

我想在ColumnChooser对话框中添加自定义按钮,使其表现得像其他人一样。 我尝试得到这样的东西(默认按钮) _this.table.jqGrid(“navButtonAdd”, _this.pid, { caption: “”, buttonicon: “icon”, title: “Title”, onClickButton: function() { return self.table.jqGrid(“columnChooser”, { done: function(perm) { if (perm) { self.table.jqGrid(“remapColumns”, perm, true); return $(window).triggerHandler(“resize.jqGrid”); } }, dialog_opts: { modal: true, resizable: false }, msel_opts: { dividerLocation: 0.5 }, width: 460 }); } });