Results 1 to 5 of 5

Thread: Locked grid width is incorrect when setting it to width of a column

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member ragzovskii's Avatar
    Join Date
    Sep 2012
    Location
    Krasnoyarsk, Russia
    Posts
    242
    Vote Rating
    22
      0  

    Default Locked grid width is incorrect when setting it to width of a column

    Hello.
    In 6.2.1 there's a bug: when you get size of single locked column and set it as locked grid width - bottom scrollbar appears. Fiddle doesn't work now so steps to reproduce are as follows:
    1) open locking example: ext-6.2.1/build/examples/classic/grid/locking-group-summary-grid.html
    2) execute:
    Code:
    g = Ext.first('grid'); g.setWidth(g.getVisibleColumns()[0].getWidth());
    

    works fine in 6.2.0

  2. #2
    Sencha Premium Member ragzovskii's Avatar
    Join Date
    Sep 2012
    Location
    Krasnoyarsk, Russia
    Posts
    242
    Vote Rating
    22
      0  

    Default

    Also behavior changed in 6.2.1: when grid is reconfigured with new columns, locked grid width remain intact. To reproduce in above example add this to grid config:
    Code:
    tbar: [{
                text: 'trick',
                handler: function () {
                    grid.lockedGrid.setWidth(100);
                    grid.reconfigure(null, [
                        { text: 'Foo', width: 150, dataIndex: 'Author', locked: true },
                        { text: 'Bar', width: 200, dataIndex: 'Title' }
                    ]);
                }
            }]
    In 6.2.1 width is 100px, in 6.2.0 it's 150px. Is that change also intended or is it a bug?

  3. #3

  4. #4

  5. #5
    Sencha Premium User
    Join Date
    Oct 2013
    Location
    Kharkiv, Ukraine
    Posts
    28
    Vote Rating
    6
      0  

    Default

    BUMP: Still valid for 6.6.0

Similar Threads

  1. Replies: 1
    Last Post: 3 May 2017, 5:34 AM
  2. [OPEN] Setting the width of the locked grid doesn't have any effect
    By mankz in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 9 Nov 2016, 1:24 PM
  3. Replies: 1
    Last Post: 31 Oct 2014, 2:33 PM
  4. Replies: 1
    Last Post: 11 Jan 2013, 7:33 AM

Posting Permissions

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