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.

Hybrid View

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8268 in 4.2.0.489.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    11
    Vote Rating
    0
    zmathew is on a distinguished road

      0  

    Default Ext: 4.2.0 Beta - Locked column grid and edit events

    Ext: 4.2.0 Beta - Locked column grid and edit events


    Hi,

    Here is an issue noticed in ExtJS 4.1.1 and ExtJS 4.2 Beta. I have a grid with row editing plugin and it was working perfectly with "edit", "beforeedit" events. Now I want to lock only one column in grid which is not editable. I have set the property "locked":true for that particular column but now both edit/beforeedit not fired when editing anyone of the row. Is this a Extjs specific issue or any other work around for this.


    Code:

    .........................some code here ...........................selModel: Ext.create('Ext.selection.RowModel', { mode: 'MULTI' }), plugins: [ Ext.create('Ext.grid.plugin.RowEditing', { }) ], columns: [ { xtype: 'gridcolumn', minWidth: 100, dataIndex: 'USER_ID', flex: 1, locked: true, text: 'Username' }, { xtype: 'gridcolumn', hidden: true, dataIndex: 'ADMIN', text: 'User Type' }, { xtype: 'gridcolumn', minWidth: 120, dataIndex: 'LNAME', flex: 1, text: 'Last Name', field: { xtype: 'textfield', allowBlank: false, blankText: 'Please enter a last name' } },.........................some code here ...........................

    And my event handler is

    Code:

    Ext.getCmp("mygrid").on("edit",function(){//This event was fire before console.info("Editing");});Ext.getCmp("mygrid").on("beforeedit",function(){//This event was fire before console.info("Before Editing");});



    Kindly look into this and advice if there is any resolution or work around. If not please include it in the list of bugs.

    Thank you




  2. #2
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    11
    Vote Rating
    0
    zmathew is on a distinguished road

      0  

    Default Documented as EXTJSIV-4875

    Documented as EXTJSIV-4875


    I think the issue is documented as EXTJSIV-4875.

    http://www.sencha.com/forum/showthre...643#post923643

    If there are any updates on its resolution please provide them.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    The "grid" is no longer a grid.

    It is a layout: 'hbox' Container which contains 2 grids side by side.

    Those two grids fire their edit events normally.

  4. #4
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    33
    Vote Rating
    0
    mrinsan is on a distinguished road

      0  

    Default @animal are you suggesting there is no issue at all ?

    @animal are you suggesting there is no issue at all ?


    ?

  5. #5
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Possibly we should relay the events from the child grids.

    But there is a workaround.

  6. #6
    Sencha User
    Join Date
    Nov 2012
    Posts
    7
    Vote Rating
    0
    yuhanlee is on a distinguished road

      0  

    Default


    hi, do you mind to share what is the workaround? will really appreaciate it.

  7. #7
    Sencha User
    Join Date
    Jul 2010
    Posts
    19
    Vote Rating
    1
    bizcatalyst is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    Possibly we should relay the events from the child grids.

    But there is a workaround.
    Can you explain how to relay events from the child grids please?

  8. #8
    Sencha User
    Join Date
    Nov 2012
    Posts
    7
    Vote Rating
    0
    yuhanlee is on a distinguished road

      0  

    Default


    for me, the work around is to add the listener to the 'grid' isntead of the particular component.

    If i'm not mistaken, locked column will separate the grid into 2 grids acutally, 1 with locked column and the other with the rest of the columns. so , you can just add the listener to the grid object you found on the page, and you might can add some code to check for the grid column ID or name later.

    example , in controller

    init : function() {
    this.control({
    'grid' : {
    edit : function() {
    //you code
    }
    }
    });
    }

  9. #9
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  10. #10
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    11
    Vote Rating
    0
    zmathew is on a distinguished road

      0  

    Default can you provide the workaround ?

    can you provide the workaround ?


    Animal,

    Can you post the workaround ?