Results 1 to 3 of 3

Thread: [Solved] Error with the id of my columns

  1. #1

    Thumbs up [Solved] Error with the id of my columns

    I make an application that use Extjs, specially for the gridPanel.
    It's work great with Firefox, Opera, Safari and Google Chrome but not with Internet Explorer.

    The error come from line 45545 in ext-all-debug and the error is "id is null or not an object".
    So I add an id to all my columns in my gridPanel. But the error is still here and i don't see where I have a mistake.

    You can see here a part o my code that i use to create on gridPanel. May be you will see the error or someone as solve the same problem.
            var grp_store1 = new{
                data: carte,
                root: "groupes",
                idProperty: 'id',
                fields: ['id','nom','valeur']
                return parseFloat(<=4;            
            var grp_sm1 = new Ext.grid.RowSelectionModel({
                    singleSelect: false,
                     listeners: {
                        rowselect: function(sm, rowIdx, record) {
                        rowdeselect: function(sm, rowIdx, record) {
                var grpGrid1 = new Ext.grid.GridPanel({
                    store: grp_store1,
                    columns: [
                        {header: 'nom',  id: 'nom', sortable: false, hideable: false, resizable: false, align:"left", width: 100,  dataIndex: 'nom'},
                        {header: 'valeur', id: 'valeur', sortable: false, hideable: false, resizable: false, align:"right", width: 50,  dataIndex: 'valeur'},
                    region: "west",
                    height: 100,
                    width: 150,
                    hideHeaders: true,    
                    sm: grp_sm1
               var grpsPanel = new Ext.Panel({
                      region: "center",
                      layout: "border",
                     //height: 100,
                      //width: 546,
                      items: [grpGrid1, grpGrid2]
    Thanks for your help.

  2. #2
    Sencha User fay's Avatar
    Join Date
    Apr 2007


    You've a trailing comma - a common IE problem - after: dataIndex: 'valeur'}, // <-- remove the comma

  3. #3


    Thank you very much.
    Shame on me, I know the problem in IE with coma, but I forget to check this part of my code.

Similar Threads

  1. [FIXED-781]Columns in columns menu visible but shoudn't
    By steffenk in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 24 Mar 2010, 4:10 PM
  2. Replies: 1
    Last Post: 19 Jan 2010, 10:59 PM
  3. Replies: 2
    Last Post: 7 May 2009, 12:29 PM
  4. 1.2.3 grid data columns with borders longer than header columns
    By chrismcnally in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 6 May 2009, 1:04 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts