Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Populate items of actioncolumn dynamically

  1. #11
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,146
    Answers
    87
    Vote Rating
    34
      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
      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.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •