-
7 Feb 2007 1:10 PM #1
Grids with IE7
Grids with IE7
I'm trying to work with grids in IE7, but I get the following error:
Error:'this.config[...].hidden' is null or not an object.
I do have a hidden column, but to test, I tried removing it and still have the problem.
The code works fine in Firefox 2.0
I can't test with IE6 anymore.
Any clue on this ?
Thanks,
Pascal
-
7 Feb 2007 3:16 PM #2
If it works in FF, but not IE, the first thing to check for, is an extra comma in an object declaration.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
7 Feb 2007 6:57 PM #3
-
7 Feb 2007 7:13 PM #4
I guest I replied to quickly, I realy had commas at the end of the declarations, but now, don't have any anymore, here is the declaration:
Code:var attributeValueData = [ ["16", "1"], ["17", "2"], ["18", "3"], ["19", "4"], ["20", "5"], ["22", "61"], ["", ""] ]; var grid = null; var AttributeValueGrid = { init : function() { var dataModel = new YAHOO.ext.grid.DefaultDataModel(attributeValueData); var sort = YAHOO.ext.grid.DefaultColumnModel.sortTypes; var colModel = new YAHOO.ext.grid.DefaultColumnModel([ {header: "ID", hidden: true}, {header: "Valeurs", sortable: true, sortType: sort.asUCString, hidden: false} ]); grid = new YAHOO.ext.grid.Grid('attributeValuesGridDiv', dataModel, colModel); grid.render(); grid.getSelectionModel().selectFirstRow(); } }
-
7 Feb 2007 7:48 PM #5
Do you still get the same error?
Originally Posted by Euphreme
-
7 Feb 2007 8:40 PM #6
Looks like the comma problem is fixed, I still have an error, but looks like is other JavaScript that is poping the alert ...
I tried to keep only the grid code and looks fine.
I've worked for to long before checking in IE, that's what happen, can't pin point the source of the problem now ...
Thanks any way.
Similar Threads
-
YUI reset-fonts-grids-min.css breaks yiu-ext grids
By Wolfgang in forum Ext 1.x: BugsReplies: 15Last Post: 16 May 2007, 7:20 AM -
two grids in the same pag.....
By genius551v in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 23 Feb 2007, 7:04 AM -
Help with grids
By dward8126 in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 30 Jan 2007, 2:19 PM -
many grids in one ID
By _eldar_ in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 28 Nov 2006, 1:45 AM -
Two grids in the same page
By pje in forum Ext 1.x: BugsReplies: 3Last Post: 28 Sep 2006, 10:00 AM


Reply With Quote