Results 1 to 2 of 2

Thread: TreeLists and onclick events

  1. #1
    Sencha User
    Join Date
    Jul 2017
    Posts
    52
    Answers
    2

    Default Answered: TreeLists and onclick events

    Looking through the documentation of TreeLists I cannot see any mention of onClick events, however I can see that the default setup uses onItemClick which doesn't appear to be available in the documentation. Is this because there is some sort of inherited event I can't find the documentation on or is it perhaps a gap in the API?

  2. It seems like a documentation problem. The tree itself fires an itemclick event, but the docs currently indicate it's fired by the item itself, which isn't correct:

    http://docs.sencha.com/extjs/6.5.0/c...vent-itemclick

  3. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,255
    Answers
    759

    Default

    It seems like a documentation problem. The tree itself fires an itemclick event, but the docs currently indicate it's fired by the item itself, which isn't correct:

    http://docs.sencha.com/extjs/6.5.0/c...vent-itemclick
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. OnClick Map Events
    By j16e16z in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 16 Jun 2012, 6:13 AM
  2. How to Distinguish Events.OnClick and Events.OnDoubleClick in GXT
    By simplynitin in forum Community Discussion
    Replies: 0
    Last Post: 13 Jun 2012, 9:12 PM
  3. replacing onClick events with a Hover?
    By exs in forum Sencha Animator Help & Discussion
    Replies: 1
    Last Post: 9 Feb 2012, 4:01 PM
  4. XML Trees and XTemplates OnClick Events
    By yankee_gal in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 28 Apr 2009, 5:33 AM

Posting Permissions

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