[CLOSED] SetNodeText in 2.0

  1. #1

    [CLOSED] SetNodeText in 2.0

    Hi,

    I am trying to migrate from 1.3 to 2.0 beta.
    How can I do
    TreeGrid1.SetNodeText(node, textValue)
    and
    ComboBoxType.SelectedIndex = 0
    in 2.0?

    Thanks!
    Last edited by Daniil; Apr 04, 2012 at 5:58 PM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi,

    Quote Originally Posted by gets_gui View Post
    TreeGrid1.SetNodeText(node, textValue)
    Please use:
    TreePanel1.GetNodeById("Root").Call("set", "text", "new text");
    We will add the Set method. Then it will look:
    TreePanel1.GetNodeById("Root").Set("text", "new text");
    Quote Originally Posted by gets_gui View Post
    ComboBoxType.SelectedIndex = 0
    Please use:
    ComboBox1.SelectedItems.Add(new Ext.Net.ListItem { Index = 0 });
    We will add respective items in Changelog, thanks for the reports.
  3. #3
    Hi Daniil,

    Thank you for the quick response.
    I have question Regarding to the second parameter for
    TreePanel1.GetNodeById("Root").Call("set", "text", "new text");
    The text is standing for the text attribute or the old text value?

    And I what's the right way to do
    TreeGrid1.SelectNode("Root")
    in 2.0?
  4. #4
    Quote Originally Posted by gets_gui View Post
    I have question Regarding to the second parameter for
    TreePanel1.GetNodeById("Root").Call("set", "text", "new text");
    The text is standing for the text attribute or the old text value?
    For the text attribute.

    Quote Originally Posted by gets_gui View Post
    And I what's the right way to do
    TreeGrid1.SelectNode("Root")
    in 2.0?
    Could you start a new forum thread, please?

Posting Permissions