hi,

Firefox and google don“t have a problem with my code, but IE7 is complaining 
again.

IE. Error:
German:    Fehler: 'this.proxy' ist Null oder kein Objekt

Eng: Error: 'this.proxy' is null or not an Object.



var store = new GeoExt.data.FeatureStore({
                fields: [
                    {name: "bez", type: "string"},
                    {name: "standort", type: "string"},
                    {name: "typ", type: "string"},
                    {name: "betreiber", type: "string"}
                ],
  //           autoLoad: {params:{start: 0, limit: 500}},
                layer: layer,
    addFeatureFilter: function(feature){
    return feature.state !== OpenLayers.State.DELETE;
    }
    });


It is the commented out line which causes the error.  It refers to a paging 
toolbar which is present in the grid. I read the ext.js and the code should be 
ok, so why is it returning an error is my case?

here is the code for the paging toolbar.

var pagingToolbar = new Ext.PagingToolbar({
                        pageSize: 500,
                        store: store,
                        displayInfo: true,
                           displayMsg: 'Records {0} - {1} of {2}',
                        emptyMsg: "No Records to display",
                        items: ['->']
                          });

Any ideas?

thanks,

Robert


_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to