PDA

View Full Version : Strange grid rendering



methodman
4 Dec 2012, 5:13 AM
Hi,

I'm evaluating Ext js for my next project so I'm playing around with it.

I've created a store and a grid.

http://jsfiddle.net/xgbfR/

1. the panel header is rendered wrong.
40549


2. the phone numbers aren't loaded in firefox and IE 9
40551
BTW after sorting the grid, both problems are fixed.

Am I missing something ?

Alexander Bauer
4 Dec 2012, 7:32 AM
You should wrap your code with:


Ext.onReady(function() {

// your code

});

you have to wait until Ext has loaded/inited iteself. Ext.onReady(); will tell you, when ready.