Skip to Content
0
Former Member
Jul 21, 2016 at 07:50 AM

Can I dynamically add property to the model by changing the property of controls with data binding?

450 Views

Hi all,

I try to bind model to the control —item. And the property 'selected' bind to model which is undefined by default. Whether the property will be added if I select this item? I try it and found it can't be created. So the way is to catch the select event and call setProperty of model to add it? Thanks for any suggestion.

Thanks,

Mengchi