Why do I always.. start type in the Forum... (When there is no activity in it anwya (middle in the night in US))
And later on find a workaround anyway..
So what i do is.. I listen to the event Write for the store.
Check if I can find the Window with the Form.. if so..
I get the values from the form.. to fetch the ID then
do a findRecord.. and then
tell the Form to load in the updated record with form.loadRecord(record)..
This method works ok with changes only... but not with new records.. as I don't have the ID to find the record..
Why is simple thing like this taking soo much time and effort to implement with Ext Js..
I wished ssamayoa's would work.. but then I got other strange errors...
a similar problem, you need to display data in a grid in the method renderer
zstore = Ext.getStore('ZCarsTypeStore');
zstore.filters.removeAtKey('IDS');
zstore.filters.add('IDS', new Ext.util.Filter({
property: 'IDS',
value: value
}));
zstore.filterOnLoad = false;
zstore.load();
console.log(zstore.first()); // return random true or previous data
console.log(zstore.findRecord('IDS','5')); // return undef or random prev data
how to display data in a grid cell, from the other store (one-many relationship) with this result (