using javascript add a new treenode to a treegrid

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    using javascript add a new treenode to a treegrid

    using javascript add a new treenode to a treegrid (not c# code Behind),How can I do?

  2. #2
    c # is written like this
                 Ext.Net.TreeNode zxsnode = new Ext.Net.TreeNode();
                zxsnode.NodeID = bmbhstr;
                zxsnode.Text = bmmcstr;
                zxsnode.CustomAttributes.Add(new ConfigItem("bmbh", bmbhstr, ParameterMode.Value));
                zxsnode.CustomAttributes.Add(new ConfigItem("bmmc", bmmcstr, ParameterMode.Value));
                zxsnode.CustomAttributes.Add(new ConfigItem("sfxm", sfxmstr, ParameterMode.Value));

    Javascript so it?
    Last edited by huchaonian; Oct 14, 2010 at 8:02 AM.
  3. #3
    Who know?Hello?
  4. #4
    where Support Team?

Similar Threads

  1. TreeNode Javascript Events
    By markrobotnik in forum 2.x Help
    Replies: 3
    Last Post: Apr 18, 2012, 9:08 AM
  2. Replies: 0
    Last Post: Dec 10, 2009, 11:14 AM
  3. TreeNode event handling without javascript
    By hjawad in forum 1.x Help
    Replies: 0
    Last Post: Sep 24, 2009, 3:14 AM
  4. How to get selected TreeNode in JavaScript?
    By dbassett74 in forum 1.x Help
    Replies: 1
    Last Post: May 26, 2009, 1:34 PM
  5. [CLOSED] Change icon on treenode from javascript
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 24, 2009, 3:40 PM

Tags for this Thread

Posting Permissions