jQuery MiniUI
标题:
tree checkbox控件 的checkbox可以设置disabled吗?
[打印本页]
作者:
isquen
时间:
2013-5-14 15:21:06
标题:
tree checkbox控件 的checkbox可以设置disabled吗?
tree checkbox控件 的checkbox可以设置disabled吗?如果可以怎么设置??
作者:
livjunjie
时间:
2013-5-14 15:39:05
本帖最后由 livjunjie 于 2013-5-14 15:43 编辑
可以,API中有示例如下:
<script type="text/javascript">
function disable() {
var t = mini.get("#id");
t.disable();
}
</script>
作者:
factory
时间:
2013-5-14 16:10:08
tree.disableNode() 禁用节点
enableNode() 启用节点
用这2个方法,3.0版本这2个方法有点问题,我们现在在修复,修复完了通知你去下载更新下就可以了
作者:
factory
时间:
2013-5-14 16:11:09
livjunjie 发表于 2013-5-14 15:39
可以,API中有示例如下:
你的用法错误了t.setDisable(false/true);
miniui约定所有属性都支持set和get,也必须通过set和get来赋值和取值,不能直接 .xxx 这样写
作者:
niko
时间:
2013-5-14 17:25:17
tree.disableNode() 禁用节点
enableNode() 启用节点
已修复,下载更新即可。
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2