Extjs 4.0.2a breaks grid columns?

I just updated my program to use Ext JS 4.0.2a starting from the previous 4.0.0. Some parts of my program are interrupted after the update, and one of them indicates that the show / hide column parameter for the grid does not display correctly. The screenshot below is how things are displayed on my machine;

Option not showing correctly

Note that the list of columns is displayed on top of the page, and the list itself is empty.

I'm not sure if this is a specific platform / browser, but I am using Ubuntu Linux and I get this error when running my program in Firefox, as well as in Chromium.

The following describes how my grid column is declared:

{ xtype: 'gridcolumn', header: 'windspeed_max', sortable: true, width: 105, dataIndex: 'windspeed_max' }, 

I did not enable the 'hideable' option, because by default it is true, but the problem still persists even after adding the 'hideable' option and sets it to true. I'm not sure if this option has anything to do with the problem anyway.

The question is, how can I fix this problem without returning to Ext JS 4.0.0?

+4
source share
3 answers

This is a mistake, the correction is as follows: http://www.sencha.com/forum/showthread.php?138927-4.0.2a-Large-Ext.menu.Menu-incorrectly-shown-(Possible-fix)&p=620730&viewfull = 1 # post620730

I tested the version of Ext 4.0.2a and worked.

In the function Ext.menu.Menu.doConstrain ... change:

 ... delete me.height; me.setSize(); full = me.getHeight(); ... 

To:

 ... full = me.getHeight(); delete me.height; me.setSize(); ... 
+1
source

The menu restriction has been fixed since version 4.0.2a. When the next public release comes out (very soon), it will be fixed there.

0
source

Error menu from Ext JS 4.0.2a fixed in the new available version of Ext JS 4.0.7

0
source

All Articles