public static JsTreeNode add_Node(this JsTree jsTree, string title)
        {
            var newJsTreeNode = new JsTreeNode(title);

            jsTree.data.Add(newJsTreeNode);
            return(newJsTreeNode);
        }
        public static JsTreeNode add_Node(this JsTreeNode jsTreeNode, string title)
        {
            var newJsTreeNode = new JsTreeNode(title);

            jsTreeNode.children.Add(newJsTreeNode);
            return(newJsTreeNode);
        }
        public static List <JsTreeNode> add_Nodes(this JsTreeNode jsTreeNode, params string[] titles)
        {
            var newJsTreeNodes = new List <JsTreeNode>();

            foreach (var title in titles)
            {
                newJsTreeNodes.Add(jsTreeNode.add_Node(title));
            }
            return(newJsTreeNodes);
        }
예제 #4
0
		public static JsTreeNode add_Node(this JsTreeNode jsTreeNode, string title)
		{
			var newJsTreeNode = new JsTreeNode(title);
			jsTreeNode.children.Add(newJsTreeNode);
			return newJsTreeNode;
		}
예제 #5
0
		public static JsTreeNode add_Node(this JsTree jsTree, string title)
		{
			var newJsTreeNode = new JsTreeNode(title);
			jsTree.data.Add(newJsTreeNode);
			return newJsTreeNode;
		}
예제 #6
0
 public static JsTreeNode add_Node(this JsTreeNode jsTreeNode, string title)
 {
     return(jsTreeNode.add_Node(title, ""));
 }