Example #1
0
 public JsTreeNode(int _id, string _data, bool _folder)
 {
     data  = _data;
     state = (_folder ? "closed" : "");
     attr  = new JsTreeAttributes {
         id = _id.ToString(), rel = (_folder ? "folder" : "default")
     };
 }
Example #2
0
 public JsTreeNode(int _id, string _data, bool _folder)
 {
     data = _data;
     state = (_folder ? "closed" : "");
     attr = new JsTreeAttributes {id = _id.ToString(), rel = (_folder ? "folder" : "default")};
 }