PDA

View Full Version : IE6 and ColumnModel


joustin
04-25-2007, 11:58 AM
Ext crashes under IE6 on ColumnModel

line: 26045 in ext-all-debug

Config object/collection contains column definitions, but also remove() and indexof() functions, which crash the if(typeof config[I].dataIndex == "undefined") clause.

These functions are defined by ext-yui-adapter.js.

I'm not including anything besides YUI utilities, ext-yui-adapter and ext-all-debug.

Any suggestions appreciated.

Great job btw :)

jack.slocum
04-26-2007, 03:22 PM
I am running it just fine in IE6. There has to be something else wrong. I would be willing to bet $1 that your columns definition has an extra comma or a null value.

joustin
04-27-2007, 07:19 AM
You're absolutely right. This sucks as I've skimmed 4 times through this code, because trailing comma throws syntax error on ie. Sorry for being dumbass :) :">


One little thing

Editorgrid, clicksToEdit: 1, when moving (TAB) from one ComboBox-based cell to next cell (i.e. text), editing mode is switching off. Same happens when tab-ing from date-editor-based cell. I know I could attach some handlers, but I believe this should be consistent with other editors (maintain editing mode).

jack.slocum
04-27-2007, 09:53 AM
#2 is fixed already in SVN and will be in the next release.