[CLOSED] Changelog for treepanel

  1. #1

    [CLOSED] Changelog for treepanel

    Goodevening,
    I am trying to make the updating of a project to the version 2.0 of Ext.net, to decide if to do it for all our projects. It's very hard. In your CHANGELOG.txt miss a lot of things.
    Please help me:
    1) The property "IsTarget" of Ext.Net.Node doesn't exist, how do I replace it?
    2) The method ReplaceChildNode of TreePanel doesn't exist, how do I replace it?
    3) The method AppendChild Of TreePanel doesn't exist, how do I replace it?
    4) The method ExpandNode of TreePanle doesn't exist, how do I replace it?
    5) The property "Editable" of Ext.Net.Node doesn't exist, how do I replace it?

    Thank you very much.

    Jimmy
    Last edited by Daniil; Sep 07, 2012 at 6:02 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Quote Originally Posted by xeo4.it View Post
    1) The property "IsTarget" of Ext.Net.Node doesn't exist, how do I replace it?
    Please use AllowDrop.
    http://docs.sencha.com/ext-js/4-1/#!...-cfg-allowDrop

    Quote Originally Posted by xeo4.it View Post
    2) The method ReplaceChildNode of TreePanel doesn't exist, how do I replace it?
    It is related to the CHANGELOG item #97.

    97. The TreePanel server side methods - SetNodeText, SetNodeCls, SetNodeHref, SetNodeIcon, SetNodeIconCls, SetNodeId, SetNodeText, SetNodeTooltip - have been removed. Now you should get a node proxy calling the TreePanel GetNodeById method, then call a respective method of that node proxy. Example //Old TreePanel1.SetNodeText("nodeId", "new text") //New TreePanel1.GetNodeById("nodeId").Set("text", "new text")
    Example
    var oldNode = TreePanel1.GetNodeById("oldNode");
    var newNode = new Node() { Text = "New node" };
    this.TreePanel1.GetNodeById("parentNode").ReplaceChild(newNode, oldNode);
    Quote Originally Posted by xeo4.it View Post
    3) The method AppendChild Of TreePanel doesn't exist, how do I replace it?
    4) The method ExpandNode of TreePanle doesn't exist, how do I replace it?
    Please see the answer for #2.

    Quote Originally Posted by xeo4.it View Post
    5) The property "Editable" of Ext.Net.Node doesn't exist, how do I replace it?
    Confirm. Now please set up any custom attribute via CustomAttributes (you can call it "editable" as well), then analyze it within a BeforeEdit listener of CellEditing plugin to determine allow or not editing. Returning false from a BeforeEdit listener prevents editing.

    Thanks for the reports, we will accordingly update the CHANGELOG.
  3. #3
    Thank you very much.

Similar Threads

  1. [CLOSED] Ext.Net 2.1 version changelog
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 14, 2012, 10:59 AM
  2. [CLOSED] ChangeLog Questions
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Jul 12, 2012, 2:56 PM
  3. Replies: 24
    Last Post: Apr 19, 2012, 9:56 AM
  4. [CLOSED] AutoLoad Parameter [ChangeLog]
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 18
    Last Post: Apr 10, 2012, 2:29 PM
  5. [CLOSED] I can not find the file CHANGELOG.txt?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 26, 2010, 11:40 AM

Posting Permissions