1. #11
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,111
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Do not know. Then I need some code were I can test it with data.

  2. #12
    Sencha User
    Join Date
    Dec 2011
    Posts
    24
    Vote Rating
    1
    kathy_s is on a distinguished road

      0  

    Default


    It works!
    I made a small change in the constructor and now it works fine :
    Code:
    constructor: function(config) {
             var me=this;
             
             this.editAction = config.editAction;
             this.copyAction = config.copyAction;
             this.editFunction = config.editFunction; 
             this.editIndex = config.editIndex;
             this.copyFunction = config.copyFunction;
             this.copyIndex = config.copyIndex;
    
             var items = this.getActions();
             config.items = items; 
    
             //me.setConfig(config);
             //me.callParent(arguments);
             me.callParent([config]);
    
             return me;
    
        },
    Thanks for all your usefull answers! Being new to extjs, it would have taken me ages to figure this out on my own.

Thread Participants: 1