Results 1 to 6 of 6

Thread: [OPEN] Bugs on Grid with Column Locking : load mask error, grid not resized, etc

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default [OPEN] Bugs on Grid with Column Locking : load mask error, grid not resized, etc

    I'm using Ext JS 4.0.7

    Here are several bugs that I found when using column locking:
    1. If the grid's store is loaded, load mask only covers unlocked columns (right side columns),
      while there is a weird white oval shape above left side columns (the locked columns).
      load mask.jpg

      I think it's supposed to show one load mask which covers all columns.
      .
    2. If browser window is maximized, the locked columns height is not resized.
      resize.jpg
      .
    3. Toolbar and pagebar are rendered twice.
      It's weird because on another page, the same grid is rendered properly (but inside a border layout, like the above pictures).
      toolbar.jpg
      .
    4. If a grid is created without locked columns, then the grid is reconfigured with new columns (some columns are locked) the columns are not locked.
    Thank you.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    Do these happen in 4.1.0?
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3

    Default

    Quote Originally Posted by mitchellsimoens View Post
    Do these happen in 4.1.0?
    I'm using version 4.0.7 and don't try version 4.1.0 yet.

  4. #4
    Sencha User
    Join Date
    May 2009
    Location
    Islamabad
    Posts
    24

    Default Resizing of mask on grid

    I am using setHeight function of grid to set height but its mask is not getting re sized according to grid size. I am doing some thing wrong or is there is some bug as mentioned in thread, i am using extjs 4.0.2?

  5. #5

    Default

    Hi,

    The load mask problem is a solution below:

    PHP Code:
            Ext.override(Ext.grid.Panel, {
                
    initComponent: function() {
                    var 
    $loc_Me this;

                    if(
    $loc_Me.columnLines) {
                        
    $loc_Me.setColumnLines($loc_Me.columnLines);
                    }
                    
    $loc_Me.callParent();
                    
    // Added code begin
                    
    if($loc_Me.normalGrid && $loc_Me.lockedGrid) {
                        if(
    $loc_Me.normalGrid.view.loadMask) {
                            var 
    $loc_LoadMask = new Ext.LoadMask(Ext.getBody(), {
                                
    ownerCt$loc_Me
                            
    });
                            
    $loc_Me.normalGrid.view.loadMask = {
                                
    onBeforeLoad: function() {
                                    
    $loc_LoadMask.show();
                                },
                                
    onLoad: function() {
                                    
    $loc_LoadMask.hide();
                                }
                            };
                            
    $loc_Me.lockedGrid.view.loadMask false;
                        }
                    }
                    
    // Added code end
                
    }
            }); 
    Regards, Tobias

  6. #6
    Ext JS Premium Member
    Join Date
    Dec 2011
    Posts
    23

    Default Reconfiguring grid with locked columns

    Quote Originally Posted by mitchellsimoens View Post
    Do these happen in 4.1.0?
    Point 4. tested and still not working in 4.1.0.

Posting Permissions

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