Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    tabBarProperties.itemClick not working in 8.0 (it seems)

    Hi,
    I use this approach to catch the singleclick on a tab button of a tabset:

    tabBarProperties: {
    itemClick: function() {
    alert(arguments);
    }

    But the itemClick method is not called anymore it seems. The same with itemDoubleClick works fine. I tested this in one of the smartclient examples and there it did not work either.

    Or should I set a different property?

    gr. Martin

    #2
    Set TabSet.titleEditEvent: "doubleClick" as a workaround.

    Comment


      #3
      Thanks, yes that works for singleclick, but then I loose the doubleclick event.

      I checked the source code and it would be great if the tabBarDefaults.click/buttonDefaults.click/buttonDefaults.doubleClick only get replaced if TabSet.canEditTabTitles is true.

      Would that make sense (asking Isomorphic)?

      Thanks!

      gr. Martin

      Comment


        #4
        We've added a fix similar to what you describe. itemClick should be working again as of the next nightly build. Please let us know if it continues to give you trouble.

        Comment

        Working...
        X