in ExtJS5, How can i update/auto-sync a text panel say c , which lists out records from a dataStore D, when D is modified dynamically through a grid G which does drag n drop actions thus updating its store ?
Asked
Active
Viewed 207 times
1 Answers
0
In ExtJs a component that is bound to a store automatically updates when the store changes. There is no need to implement that.
If you have two grid panels bound to the same store, the second will automatically show the changes you make in the first.
In your case, the second panel is a text panel. Since text panels do not contain data, but only text, you have to modify them by listening to events on the store.
ExtJs has a powerful event system in a MVC or since ExtJs 5 also a MVVM pattern.

Lorenz Meyer
- 19,166
- 22
- 75
- 121