[CLOSED] [1.0] jsonStore.loadData(json) is not changing date string into object inside IE 8
hi,
please fix this bug in the bad IE 8
Code:
createJsonStoreFromJsonResults = function(json) {
/* prepare results for reader */
var flds = [];
$.each(json, function(n, v) {
var recordField = { 'name': n }
if (n != undefined && (n + "").toLowerCase().indexOf('date') > -1) {
recordField['type'] = 'date';
}
flds.push(recordField);
});
/* process results and convert them to bindable format */
var store = new Ext.data.JsonStore({
idProperty: flds[0].name,
fields: flds
});
/* load json data into store */
store.loadData(json,true);
return store;
}
the above js function work fine in firefox but not in the IE... please test it and fix it.
bye and thanks,