[Users] ERROR: 'this.proxy' ist Null oder kein Objekt
Robert Buckley
robertdbuckley at yahoo.com
Thu Mar 24 15:10:20 CET 2011
Hi,
after reading this I think i understand why...
http://www.geoext.org/pipermail/users/2010-November/001558.html
Paging isn´t yet supported in geoext.
But what I actually wanted was to display the number of rows in my grid. Is
there a simple workaround to just display the number or items?
yours,
Robert
________________________________
Von: Robert Buckley <robertdbuckley at yahoo.com>
An: users at geoext.org
Gesendet: Donnerstag, den 24. März 2011, 12:35:10 Uhr
Betreff: [Users] ERROR: 'this.proxy' ist Null oder kein Objekt
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110324/8fc5bd1b/attachment.htm
More information about the Users
mailing list