EasyUI Tree 中的Node state属性
2016-04-17 10:09
393 查看
[{"id":1,"text":"Node 1","state":"closed","children": [{"id":11,"text":"Node 11"},{"id":12,"text":"Node 12"}]}, {"id":2,"text":"Node 2","state":"closed"}]
The node 1 and node 2 are closed, when expand the node 1, it will directly show its child nodes. When expand node 2, it will send the value(2) to server to retrieve child nodes.
相关文章推荐
- [Lintcode]Swap Nodes in Pairs
- 111.Populating Next Right Pointers in Each Node
- 【Node JS环境搭建及sublime Text 3配置Node Js环境】
- Nodejs Stream 数据流使用手册
- 用nodejs模拟请求发微博
- 【一天一道LeetCode】#19. Remove Nth Node From End of List
- 【一天一道LeetCode】#19. Remove Nth Node From End of List
- nodejs cms开源框架
- Node.js 文件模块(fs)模块介绍
- 配置nodejs环境
- 详细分析Node.js中的UDP模块
- node初识
- windows环境安装nodejs
- node.js 学习笔记003 :使用superagent和cheerio实现简单网页爬虫
- ubuntu 源码安装nodejs
- 安装Node.js和Electron
- nodejs爬虫编码问题
- node.js 学习笔记002 : 使用utility实现字符串加密
- Node.js 从入门到茫然系列——入门篇
- node.js 学习笔记001 :Hello,world !