[CLOSED] Click listener doesn't exist within Node component

  1. #1

    [CLOSED] Click listener doesn't exist within Node component

    Hi,
    I implemented this code below :
       Node fileItem = new Node();
                                    fileItem.Text = fileSP.Name;
                                    fileItem.Listeners.Click.Handler="method()";
    Click listener doesn't exist within Node component.
    Last edited by Daniil; Aug 09, 2012 at 5:06 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use the TreePanel ItemClick event.

    The CHANGELOG item #101:
    https://examples2.ext.net/#/Getting_...nts/CHANGELOG/
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please use the TreePanel ItemClick event.

    The CHANGELOG item #101:
    https://examples2.ext.net/#/Getting_...nts/CHANGELOG/
    ItemClick doesn't found under Listener property of Node.
  4. #4
    Yes, the Node class doesn't have such listener. It's the TreePanel class event.
  5. #5
    Quote Originally Posted by Daniil View Post
    Yes, the Node class doesn't have such listener. It's the TreePanel class event.
    Hi this the code below I would like to apply a click listener within a Node :
                            Node rootfile = new Node();
                            rootfile.Text = item.Name;
                            rootfile.Href = item.Url;
                           [Click doesn't exist] rootfile.Listeners.click.Handler = "attachmentWin('" + item.Url + "')";
                            rootfile.IconFile = item.IconUrl;
  6. #6
    Please set up
    TreePanel1.Listeners.ItemClick.Handler = "attachmentWin(record.get('href'));";
    instead.

Similar Threads

  1. [CLOSED] grid header click no longer exist in V2
    By SymSure in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 22, 2012, 10:12 AM
  2. [CLOSED] gridPanel after edit event doesn't exist
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 15, 2012, 10:22 AM
  3. [CLOSED] MiniListWidth doesn't exist within combobox list config
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 19, 2012, 5:09 PM
  4. Replies: 1
    Last Post: Nov 19, 2011, 8:32 AM
  5. Replies: 1
    Last Post: Dec 22, 2010, 2:46 PM

Posting Permissions