日期:2014-05-17 浏览次数:20384 次
public class EasyTree
{
public EasyTree(string id, string text, string state, string icon, List<EasyTree> children,bool @checked)
{
this.id = id;
this.text = text;
this.state = state;
this.iconCls = icon;
this.children = children;
this.@checked = @checked;
}
public string id { get; set; } //节点-value
public string text { get; set; } //节点-文字显示
public string state { get; set; } //节点-状态-open,closed
public string iconCls { get; set; } //节点-图标
public List<EasyTree> children { get; set; } //节点-子节点
public bool @checked {get;set;}
}