EasyUi 表格禁用按钮,权限管理

toolbar : [
					{
							iconCls : 'icon-edit',
							text : '修改',
							id : 'myRoleUpdate',
							}
]

上代码,这是添加到表格的一个按钮

然后再写下(根据ID)

$(function() {
		$("#myRoleUpdate").linkbutton("disable");
});

就可以禁用该按钮咯!

猜你喜欢

转载自blog.csdn.net/qq_43227967/article/details/82966206