Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11
    Touch Premium Member
    Join Date
    May 2011
    Location
    Norfolk & DC
    Posts
    100
    Vote Rating
    5
    epiphanydigital is on a distinguished road

      0  

    Default


    Do something like...

    Code:
    onItemDisclosure: true,
    listeners : {
      itemtap : function(record,index,item,e) {
        if (e.getTarget('.x-list-disclosure')) {
          // do something with the disclosure tap
        } else {
          var currentRecord = record.store.getAt(index);
          App.SomePanel.update(currentRecord.data);
        }
      }
    }
    twitter.com/epiphanydigital #sencha #drupal #jquery #craftbeer #guitar #photography

  2. #12
    Sencha User
    Join Date
    Oct 2011
    Posts
    26
    Vote Rating
    0
    gopikumar is on a distinguished road

      0  

    Default


    Quote Originally Posted by epiphanydigital View Post
    Do something like...

    Code:
    onItemDisclosure: true,
    listeners : {
      itemtap : function(record,index,item,e) {
        if (e.getTarget('.x-list-disclosure')) {
          // do something with the disclosure tap
        } else {
          var currentRecord = record.store.getAt(index);
          App.SomePanel.update(currentRecord.data);
        }
      }
    }


    Hi epiphanydigital,

    Hi

    Thanks!!

    Even i am dealing with the same issue.

    Here the selected item value in the list is displayed in next panel.

    how to setValue in a textbox.

    Actually i have a textbox on the top, by selecting item in the list it should able to set the value.

    I tried with

    Code:
    listeners : {
            itemtap : function(record,index,item,e) {
    
    
            var currentRecord = record.store.getAt(index);
              //alert('Disclose more info for ' + currentRecord.get('firstName'));
             console.log('tap event '+ currentRecord.get('firstName'));
             Mypanel.dockedItems.textBox.setValue(currentRecord.get('firstName'));
          
        }
    But its not working.

    Any help appreciated.

  3. #13
    Touch Premium Member
    Join Date
    May 2011
    Location
    Norfolk & DC
    Posts
    100
    Vote Rating
    5
    epiphanydigital is on a distinguished road

      0  

    Default


    Do you have your store set?
    Can you check your javascript developer console and see if there are json objects stored?
    The if/else conditional in my example above is required if you want to separate the two events... you may not be trying to do that, but throwing it out there.
    Try logging to console this instead:

    Code:
    console.log('tap event', currentRecord);
    ...just to make sure you're getting the right object and that it's populated. You may already see if it is or not, I can't see your output.

    You may also need to call the following function:

    Code:
    Mypanel.doComponentLayout();
    twitter.com/epiphanydigital #sencha #drupal #jquery #craftbeer #guitar #photography

  4. #14
    Sencha User
    Join Date
    Oct 2011
    Posts
    26
    Vote Rating
    0
    gopikumar is on a distinguished road

      0  

    Default


    Ok thank you so much for your suggestions.
    It is fetching the right record and displaying in console.


    I tried with




    Ext.getCmp('searchBox').setValue(currentRecord.get('firstName') );




    and now working.

  5. #15
    Sencha User
    Join Date
    Jul 2012
    Location
    Hyderbad
    Posts
    42
    Vote Rating
    0
    Manoj Parida is an unknown quantity at this point

      0  

    Default


    Is there any good tricks,that we have to handle both these events separately.
    Means
    disclose : function(this, record, target, index, e, eOpts
    ) {
    this.fireEvent('discl', this, record, target, index, e, eOpts);
    },
    itemtap: function(this, index, target, record, e, eOpts
    ){

    this.fireEvent('itemtp', this, index, target, record, e, eOpts
    );
    }




    Is this possible in sencha touch 2 ?


    Regards
    Manoj Parida

Similar Threads

  1. disclosure and itemtap on list
    By stefx in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 2 Sep 2011, 4:23 AM
  2. how to add disclosure button to the list
    By lukesayaw in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 20 Oct 2010, 5:08 PM
  3. Replies: 2
    Last Post: 22 Sep 2010, 5:45 PM
  4. Any event available on pressing Ext.PagingToolbar Refresh button
    By syedarshadali in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 28 Oct 2009, 4:36 AM
  5. ColumnTree with column button that triggers an event
    By xnd in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 3 Sep 2009, 7:04 AM

Thread Participants: 7

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."