1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Leipzig, Germany
    Posts
    75
    Vote Rating
    1
    A.Rothe is on a distinguished road

      0  

    Default Field binding and change listener

    Field binding and change listener


    Hi,

    I have a form, which uses field binding. Some fields of this form have change listeners to react on the user input (e.g. Radio buttons enable/disable/clear textfields or comboboxes). But I have a problem during the bind process: the assignment of a value during bind() triggers the change listener too.

    So it could be, that a model value is set on a field (by FieldBinding), but this change executes a listener too and clears/changes a previously set value from another field. I can not set a specific order of the value assignments to the fields, because the field bindings are stored within a map, which has no specific order.

    How I can solve that (e.g. temporary disable the listeners?) ?

    Thank you

    André

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Location
    Leipzig, Germany
    Posts
    75
    Vote Rating
    1
    A.Rothe is on a distinguished road

      0  

    Default


    Hm, I could get the StackTraceElement array within the listeners and look for FieldBinding.bind(). In such a case, I could prevent some data changes... Are there another ideas?

    André

  3. #3
    Sencha User
    Join Date
    May 2013
    Posts
    2
    Vote Rating
    0
    anish399 is on a distinguished road

      0  

    Default how to hide top and down button in duallist

    how to hide top and down button in duallist


    how to hide top and down button in duallist as i dont want these in my ui.

    please tell me how it can be possible and code to do it.

    regards
    anish

  4. #4
    Sencha User
    Join Date
    May 2013
    Posts
    2
    Vote Rating
    0
    anish399 is on a distinguished road

      0  

    Default removal of top and down button in dual list field

    removal of top and down button in dual list field


    how to remove top and down button in duallist

    how to remove

    top and down button in duallist as i dont want these in my ui.

    please tell me how it can be possible and code to do it.

    regards
    anish

Thread Participants: 1

Tags for this Thread