1. #1
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,520
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default [3.x] Grid RowActions Plugin

    [3.x] Grid RowActions Plugin


    This is just link to the original plugin that is now Ext 3.x compatible: http://extjs.com/forum/showthread.ph...126#post329126
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  2. #2
    Sencha User
    Join Date
    Jul 2007
    Location
    Moscow, Russia
    Posts
    295
    Vote Rating
    0
    6epcepk is on a distinguished road

      0  

    Default


    Thank you, im waiting for it!

  3. #3
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,520
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    What are you waiting for? It should work right now with Ext 3.x
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  4. #4
    Sencha User
    Join Date
    Nov 2009
    Location
    France
    Posts
    23
    Vote Rating
    0
    Pyja is on a distinguished road

      0  

    Question [3.1.1] Ext.ux.grid.RowActions - unexisting 'destroy' method called

    [3.1.1] Ext.ux.grid.RowActions - unexisting 'destroy' method called


    Hi,

    In the latest version 3.1.1 of ExtJS ColumnModel, the destroy is the following :

    Code:
    destroy : function(){
            for(var i = 0, len = this.config.length; i < len; i++){
                this.config[i].destroy();
            }
            this.purgeListeners();
        }
    When using rowActions, this is added in the columnModel, so called the destroy ()
    But rowActions does not have any destroy() function.

    2 solutions :
    1. Add an empty destroy() function to rowActions (let the current destroy way of work : registering to the 'destroy' of the grid :
    Code:
    grid.on('destroy', this.purgeListeners, this);
    ),
    2. create a truly destroy function, and remove the existing way

    I'd prefer the 2nd solution.

    I hope the 'purgeListeners' don't forget anything to remove/delete

    Anyone has already done a patch for rowActions ?

    Boring, because a patch (undestand add an override to not modify the original RowActions.js file) means to copy the large init() function, just to comment one line...
    And modify the original file means that a new update will destroy any edit.

    Saki may update its plugins on its website ?
    Last edited by mystix; 9 Feb 2010 at 6:56 PM. Reason: merged with main thread

  5. #5
    Sencha User
    Join Date
    Dec 2007
    Location
    Aubagne, France
    Posts
    347
    Vote Rating
    1
    mask_hot is on a distinguished road

      0  

    Default Grid Rowactions & ux.RowEditor

    Grid Rowactions & ux.RowEditor


    Hi Saki,

    I'm trying to associate your Ux.Grid.RowActions and the ux.RowEditor but I've got an issue :
    As a rowaction column is not editable, the ux.GridActions initfield function throws an error :
    Code:
    c.getEditor is not a function
    
    Line 6870 in ux-all-debug.js
    Do you have a workaround to pass through this?

    thx a lot

  6. #6
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,520
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I'd guess that you need to implement getEditor method probably returning false. Let us know then.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  7. #7
    Sencha User
    Join Date
    Dec 2007
    Location
    Aubagne, France
    Posts
    347
    Vote Rating
    1
    mask_hot is on a distinguished road

      0  

    Default


    Thx a lot it works perfectly

  8. #8
    Ext User tonedeaf's Avatar
    Join Date
    Dec 2007
    Posts
    137
    Vote Rating
    1
    tonedeaf is on a distinguished road

      0  

    Default


    In ExtJS 3.1.1, the ColumnModel destroy() function is called when the grid is destroyed:

    Code:
        /**
         * Destroys this column model by purging any event listeners, and removing any editors.
         */
        destroy : function(){
            for(var i = 0, len = this.config.length; i < len; i++){
                this.config[i].destroy();
            }
            this.purgeListeners();
        }
    The highlighted line causes an error when using Grid RowActions because the destroy() function is undefined for the column where row actions are displayed.

    Easy override to fix the error:
    Code:
    /* Fix to supress error for grid RowActions column */
    Ext.override(Ext.grid.ColumnModel, {
        destroy : function(){
            for(var i = 0, len = this.config.length; i < len; i++){
                if(this.config[i].destroy != undefined) {
                    this.config[i].destroy();
                }
            }
            this.purgeListeners();
        }
    });

  9. #9
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,520
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I'd rather implement destroy function in RowActions....
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  10. #10
    Ext User tonedeaf's Avatar
    Join Date
    Dec 2007
    Posts
    137
    Vote Rating
    1
    tonedeaf is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    I'd rather implement destroy function in RowActions....
    That's why I called it an easy fix

    Also, looks like a lot of people noticed it (and with other workarounds):
    http://www.extjs.com/forum/showthrea...475#post435475
    http://www.extjs.com/forum/showthread.php?t=91635

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