extjs - Share store between two components -


how share store between 2 components?

first component should use full store, second component should use filtered store.

if filter store in second component, store filtered in first component.

in case need create second copy of store:

var newstore = new ext.data.store({}); newstore.loaddata(oldstore.getrange()); // filter 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -