toolbar : [
{
iconCls : 'icon-edit',
text : '修改',
id : 'myRoleUpdate',
}
]
上代码,这是添加到表格的一个按钮
然后再写下(根据ID)
$(function() {
$("#myRoleUpdate").linkbutton("disable");
});
就可以禁用该按钮咯!
toolbar : [
{
iconCls : 'icon-edit',
text : '修改',
id : 'myRoleUpdate',
}
]
上代码,这是添加到表格的一个按钮
然后再写下(根据ID)
$(function() {
$("#myRoleUpdate").linkbutton("disable");
});
就可以禁用该按钮咯!