jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree Difference between ItemClick and Select Event in jqxtree

This topic contains 2 replies, has 2 voices, and was last updated by  JKANNAN 9 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • JKANNAN
    Participant

    Hi,

    Can you please provide details on what is the difference between the itemclick and select event in the jqxtree.

    The sample I am working on, the event fired for itemclick is not firing. I used the example provided in the demo section, where as the select event works.

    I am adding functionality to redirect to a different page when the user clicks on the tree element. This works fine with the select event.

    As the user returns to the main page, I like to have the tree element highlighted based on the user’s selection.

    When I tried to use the selectItem method, the select event fires automatically.

    I am using JQWidgets version 3.5.0

    Can you please let me know why the itemclick event is not working with version 3.5.0?

    Also Can you please provide a sample to achieve the above scenario.

    Thanks

    Kannan


    Peter Stoev
    Keymaster

    Hi Kannan,

    In the version which you use, you do not have itemClick event. This is new event available since ver 4.0.0 released a day ago. The difference is simple: itemClick is raised on click, select is raised only on “select”.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    JKANNAN
    Participant

    Thanks Peter.

    I will try with the latest release.

    Thanks

    Kannan

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.