Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext JS Premium Member
    Join Date
    Dec 2011
    Posts
    4
    Vote Rating
    0
    mmannarelli-rsa is on a distinguished road

      0  

    Default prevent grid itemclick event

    prevent grid itemclick event


    I have an Ext.grid.Panel with an itemclick handler that displays the details of the item in a seperate panel. The grid store's model has a column with a renderer that generates html that contain hyperlinks. I want these hyperlinks to display other details related to the row in another browser tab. Is there any way to prevent the itemclick handler from firing when the hyperlinks are clicked. A workaround would be to display the details in the panel with an itemdblclick instead but pm wants a single click.

  2. #2
    Sencha - Community Support Team
    Join Date
    Jan 2012
    Posts
    1,376
    Vote Rating
    113
    vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all

      0  

    Default


    You can do this in "beforeitemclick" event. Example:
    Code:
    Ext.create('Ext.grid.Panel', {
        ...
       listeners: {
          beforeitemclick: function(view, record, item, index, event){
             return event.target.tagName != 'A';
          },
          itemclick: function(){
             console.log('grid item is clicked');
          }
       }
    })

Thread Participants: 1