Results 1 to 2 of 2

Thread: disclosure and itemtap on list

  1. #1
    Touch Premium Member
    Join Date
    Feb 2009
    Location
    Firenze, Italia
    Posts
    166
    Vote Rating
    0
      0  

    Default disclosure and itemtap on list

    Hi to all, how it's possible, on disclosure handler on list, delete the item, refresh the list and don't fire itemtap event?

    Thanks
    Stefano

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default

    http://www.sencha.com/forum/showthread.php?125460-Pressing-a-disclosure-button-also-triggers-the-itemtap-event&p=644147#post644147

    Here is the trick for notfiring the tap event.

    For the refreshlist, you can set a function like this :

    refreshDisclosure : function(){
    for (var i = 0; i < this.all.elements.length; i++) {
    //select element
    //update element
    }
    Last edited by thomas.romera; 2 Sep 2011 at 4:25 AM. Reason: Edit link

Similar Threads

  1. [CLOSED-206] Clicking on an empty list fires itemtap
    By meyerovb in forum Sencha Touch 1.x: Bugs
    Replies: 2
    Last Post: 14 Aug 2010, 5:06 AM
  2. [SOLVED] Problem with List Disclosure
    By unpurposed in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 11 Aug 2010, 6:18 AM
  3. GXT Disclosure Panel
    By francescoNemesi in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 18 Jan 2010, 8:30 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
  •