1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    46
    Vote Rating
    0
    arkarthickraja is on a distinguished road

      0  

    Default Unanswered: Rowediting pluging override issue

    Unanswered: Rowediting pluging override issue


    Hi,
    I am trying to override rowediting plugin , i need to override reposition:
    function(animateConfig) but it is not getting called. kindly help.

    code:
    Code:
    
    var
     
     
     
     rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
    
     
        clicksToEdit: 1
    
     
    });
    Ext.override(Ext.grid.plugin.RowEditing,{
    
    reposition: 
    function(animateConfig) {
    
            alert(
    'inside reposition--->');
    });
    
    var
     logsGridPanel = Ext.create('Ext.grid.Panel', {
    
        title: 
    'Simpsons',
    
        clicksToEdit: 1,
        plugins: [rowEditing],
    ...
    });

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,154
    Vote Rating
    475
    Answers
    685
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Are you placing the override at the top of your code? I prefer to place them in separate files and included them right after ext-all.js (or whatever you use)

    Scott

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    46
    Vote Rating
    0
    arkarthickraja is on a distinguished road

      0  

    Default


    Thanks scott, i have resolved the issue.

Thread Participants: 1