12 Apr 2010 8:53 AM #1
I realized that gxt have a Bindings class that will bind fields to a modeldata
I am wondering is there a two way to make the fields update if the modeldata get changed by something else. I could only get the field when changed to upload modeldata but if I change modeldata itself I would wish it will change the field with the latest information.
Any way to do this?
12 Apr 2010 8:53 AM #2
You are probably using BaseModelData. Change it to BaseModel and it will work. BaseModel supports events.
12 Apr 2010 9:33 AM #3
14 Apr 2010 11:28 AM #4
I've tried this and had a similar problem. The suggestion is useful - thanks, but is there a way to get this to work with a BeanModel?
14 Apr 2010 11:32 AM #5
A BeanModel extends BaseModel and so has this feature.
If it is not working, please post a fully working testcase implementing EntryPoint