Results 1 to 2 of 2

Thread: Ext.tree.Panel - Simple event example

  1. #1
    Sencha User
    Join Date
    May 2014

    Default Ext.tree.Panel - Simple event example

    Hi guys, I'm new to sencha EXT JS and having a trouble to create a click event on my Ext.tree.Panel. I have used EXT JS 4 CMD ( 4.2.1 ) to generate a default app and changed the default view/Main.js file to include a following code: At this stage what I'm trying to achieve is to create a simple click event when leaf item is clicked the message "Clicked" will pop up. The app compiles and opens correctly in web browser. However, no matter what I do I cannot see any message on the console log or message pop-up when I click on the tree.pannel leaf item. I have already spend days on this and any hints would be highly appreciated. thank you

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007


    Wrap itemclick in listeners:{} and it should work.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts