Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    30
    Vote Rating
    1
    sidamos77 is on a distinguished road

      0  

    Default [CLOSED][Beta1] GridView fires no dblclick event anymore

    [CLOSED][Beta1] GridView fires no dblclick event anymore


    I had a working example with PR5, where I get dblclick events from a GridView.

    After upgrading to Beta1, I get no more dblclick events.

    Code:
    var gridView = gridPanel.getView();
    gridView.addListener('dblclick', function(view, index, node, e) {
      console.info("dblclick");
    });

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Location
    France
    Posts
    37
    Vote Rating
    2
    EBS is on a distinguished road

      0  

    Default


    In the API doc, the event is itemdblclick

    itemdblclick( Ext.DataView this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e) Fires when an item is double clicked.
    Fires when an item is double clicked.Parameters

    • this : Ext.DataView
    • record : Ext.data.ModelThe record that belongs to the item
    • item : HTMLElementThe item's element
    • index : NumberThe item's index
    • e : Ext.EventObjectThe raw event object

    try this code
    Code:
    var gridView = gridPanel.getView();
    gridView.addListener('itemdblclick', function(view, record, item, index, node, e) {
      console.info("dblclick");
    });

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    30
    Vote Rating
    1
    sidamos77 is on a distinguished road

      0  

    Default


    Thanks! This works in Beta1. :-)

  4. #4
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    285
    Vote Rating
    3
    wki01 is on a distinguished road

      0  

    Default


    Not working:
    Test case:
    Add this piece of code to the file array-grid.js (in the examples directory).

    Thanks

    Code:
        grid.on('itemdblclick', function(view, record, item, index, node, e) {
           alert("itemdblclick")
        });  
        grid.on('dblclick', function(view, record, item, index, node, e) {
           alert("dblclick")
        });

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    120
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    itemdblclick is the event you are looking for and it is exposed on the GridView.

    Code:
    grid.getView().on('itemdblclick', function(view, record, item, index, node, e) {
           alert("itemdblclick")
    });
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Similar Threads

  1. Replies: 2
    Last Post: 31 Mar 2011, 2:40 PM
  2. Replies: 28
    Last Post: 18 Feb 2011, 10:55 AM
  3. dblclick in DataView, also fires click
    By symfony in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 7 Apr 2008, 6:17 AM

Thread Participants: 3

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..." hd porno faketaxi