ExtJS 5 Grid Cell Width Calculation Wrong Using Flex -


After upgrading ExtJS 5 to 4.2.1, I see a problem computing a grid cell width or a problem Has been there. / P>

Here is an example of columns

  column: [{header: 'one', datindex: 'one', flex: 2}, {header: 'two' DataInndx: 'Two', Flex: 2}, {Header: 'Three', DataIntex: 'three', Flex: 3}] Headers fill the grid width as expected, but the width of the grid cell is roughly -5px / -5px The amount of / -12px is not equal to the header.  

The appearance is such that there is room for the scroll bar but there is only one line in the grid, grid which has enough data to scroll bar, this is not a problem.

The grid changes the column again, as long as the new data is loaded and re-rendered with the calculation of the width, things change into proper alignment. It changes shape immediately after a new data load.

I thought that maybe CSS was blamed but changed the theme and did not fix it, nor used ext-all.css instead of debug CSS.

Is this a bug or have I missed a new config that will correct the width calculations?

If this is a bug ... any suggestions for any work?

Most appreciate.

UPDATE 1:

I used Seanand CMD to create basic app and created a grid view with columns and one feature so far it seems that a group The culprit seems to be the culprit. However, I look at the behavior without any group facility on the grid. Those grid boundaries are in the layout, so I'll do the next check.

It seems like a bug, though I found out that the grid < / Code> with container with automatically resolves the problem (at least in my case).

Example:

For example, you can see 2 grids:

  • fit with the layout of the first panel Inside - Rows are narrow
  • Auto with layouts inside the second panel - the rows are identical to the header

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -