Hi - I would like to modify a record in a store, I created using GeoExt.data.FeatureStore. The actual store looks like:<br><br> var store = new GeoExt.data.FeatureStore({<br> fields: [<br> {id: new Date().getTime(), name: 'stfid', type: 'string'},<br>
{id: new Date().getTime(), name: 'ch_0209_r_tax_val', type: 'float'}<br> ]<br> });<br><br>I thought I could modify it by doing the following:<br><br>var record = store.getAt(0);<br>
record.set("name", "id");<br><br>which would change stfid to id. But that did not work. I think it is because I'm not dealing with the presents of "fields". I've tried a variety of things without success. Is there a simple way of doing this?<br>
<br>Thanks<br>Jim<br><br>