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);
        }
		public static JsTreeNode add_Node(this JsTreeNode jsTreeNode, string title)
		{
			var newJsTreeNode = new JsTreeNode(title);
			jsTreeNode.children.Add(newJsTreeNode);
			return newJsTreeNode;
		}
		public static JsTreeNode add_Node(this JsTree jsTree, string title)
		{
			var newJsTreeNode = new JsTreeNode(title);
			jsTree.data.Add(newJsTreeNode);
			return newJsTreeNode;
		}
Beispiel #6
0
 public static JsTreeNode add_Node(this JsTreeNode jsTreeNode, string title)
 {
     return(jsTreeNode.add_Node(title, ""));
 }