Results 1 to 3 of 3

Thread: EditorGrid: custom next cell after cell editing

  1. #1
    Sencha User
    Join Date
    Jul 2007
    Location
    Moscow, Russia
    Posts
    295

    Default EditorGrid: custom next cell after cell editing

    Hi, is it possibly to set custom (not next) cell after current cell is has been editing (after press ENTER)?

    Im trying like this, but always hightlighting next row..

    PHP Code:
    windowGrid.addListener('afteredit', function(e) {
        
    Ext.Ajax.request({
            
    success: function(responseoptions) {
                var 
    lastRow windowGrid.getStore().getCount();
                
    windowGrid.startEditing.defer(50windowGrid, [lastRow5]);
                
    //windowGrid.getView().focusCell(lastRow, 5, false);
        
    });
    }); 

  2. #2
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750

    Default

    Should be:

    PHP Code:
    var lastRow windowGrid.getStore().getCount() - 1

  3. #3
    Sencha User
    Join Date
    Jul 2007
    Location
    Moscow, Russia
    Posts
    295

    Default

    Oops, now work perfect! Thanks!

Posting Permissions

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