Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
    jeora is on a distinguished road

      0  

    Default CellModel('select')event isfired when click same position cell already to be selected

    CellModel('select')event isfired when click same position cell already to be selected


    Ext version tested:
    • Ext 4.0.7
    Browser versions tested against:
    • Chrome 17.0

      IE9
      FireFox 10.0.2
    Description:
    • Ext.selection.CellModel ('select')event is fired when click same cell already to be selected
    Steps to reproduce the problem:
    • select any cell in grid panel
    • you can see the alert message what you have selected position of cell.
    • mouseclick to same cell as you were selected one
    • also you can see the alert message. this is not a what i i expected event. alert message should not be showed. cause this is a 'select' event. not a 'click' event.
    • But in the case of rowModel, 'select' event is fired fine.
    The result that was expected:
    • alert message should not be showed
    Test Case:

    Code:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
    <title>Insert title here</title>
    	<link rel="stylesheet" type="text/css"
    	href="extjs/resources/css/ext-all.css"/>
    <script src="extjs/ext-all-debug.js"></script>
    
    </head>
    
    
    
    
    <body>
    <script>
    Ext.create('Ext.data.Store', {
        storeId:'soaStore',
        fields:['name', 'email', 'phone'],
        data:{'items':[
            { 'name': 'joonyoung',  "email":"test@ubiqn.com",  "phone":"111-111-1224"  },
            { 'name': 'jongbok',  "email":"bart@simpsons.com",  "phone":"111-222-1234" },
            { 'name': 'changho', "email":"home@simpsons.com",  "phone":"111-222-1244"  },
            { 'name': 'sangjoo', "email":"marge@simpsons.com", "phone":"111-222-1254"  }
        ]},
        proxy: {
            type: 'memory',
            reader: {
                type: 'json',
                root: 'items'
            }
        }
    
    });
    
    
    Ext.create('Ext.grid.Panel', {
        title: 'soa',
        store: Ext.data.StoreManager.lookup('soaStore'),
        columns: [
            { header: 'Name',  dataIndex: 'name' },
            { header: 'Email', dataIndex: 'email', flex: 1 },
            { header: 'Phone', dataIndex: 'phone' }
        ],
        height: 200,
        width: 400,
        renderTo: Ext.getBody(),
        selType:'cellmodel',
        listeners:{
            'select':function(cell, rec, row, col) {
                alert('cell at position ' + row + ' | ' + col + ' was selected');
            }
        } 
    });
    
    
    </script>
    </body>
    </html>
    Screenshot

    select one cell(CellModel) will be fired 'select' event and you can see alert message firstselect.jpg


    after click same position cell also be fired .

    mouseClickAfterSelect.jpg
    Last edited by mitchellsimoens; 11 Mar 2012 at 7:05 AM. Reason: added [CODE] tags

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,791
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have you tried this in 4.1.0 beta3? I remember coming across this before.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
    jeora is on a distinguished road

      0  

    Default yes i tried it on 4.1.0 beta3, but same problem was showed

    yes i tried it on 4.1.0 beta3, but same problem was showed


    Quote Originally Posted by mitchellsimoens View Post
    Have you tried this in 4.1.0 beta3? I remember coming across this before.

Thread Participants: 1

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