1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default Binding help

    Binding help


    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?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,717
    Vote Rating
    107
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    You are probably using BaseModelData. Change it to BaseModel and it will work. BaseModel supports events.

  3. #3
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default


    thanks, I will try that.

  4. #4
    Ext GWT Premium Member
    Join Date
    Jun 2009
    Location
    Bath, UK
    Posts
    26
    Vote Rating
    0
    dno is on a distinguished road

      0  

    Default


    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?

  5. #5
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,717
    Vote Rating
    107
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    A BeanModel extends BaseModel and so has this feature.

    If it is not working, please post a fully working testcase implementing EntryPoint