Reputation: 85
i have question about extJs deep data binding. I have one component data binded to object from viewModel. And i want to change one property of that object and update component tpl. Extjs don't work like this, he is update component only when whole object from viewModel is changed. I see that is deep:true property for that case, but i dont know how to use it. Where to put deep property in that code.
{
xtype: 'component',
bind: {
data: '{someObject}'
}
Upvotes: 1
Views: 2721
Reputation: 1024
Having more info would help but you use the deep config like so.
bind: {
data: {
bindTo: '{someObject}',
deep: true
}
}
Upvotes: 5