[CLOSED] SetValue call without triggering the Change event

  1. #1

    [CLOSED] SetValue call without triggering the Change event

    Is there a possibility to call setValue(something) for a component without triggering a Change event?
    I have three fields Net, Vat and Tax Rate where all three are included in the calculation when one of them changes. If you set the value of one of them in the function where you do the calculation then you trigger an event on that component and after that you are in an infinite loop.

    Thank you
    Last edited by Daniil; Apr 14, 2015 at 7:47 AM. Reason: [CLOSED]
  2. #2
    Hi registrator
    You can try with setRawValue()
    http://docs.sencha.com/extjs/4.2.1/#...od-setRawValue
  3. #3
    That's it. I knew there must be a method for this.
    Much obliged!

Similar Threads

  1. Replies: 3
    Last Post: Aug 27, 2013, 7:02 AM
  2. Replies: 2
    Last Post: Nov 02, 2011, 3:10 AM
  3. Replies: 9
    Last Post: Nov 22, 2010, 4:06 AM
  4. [CLOSED] ComboBox SetValue doesn't change SelectedItem.Text
    By ewgoforth in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 11, 2010, 9:11 AM
  5. Button's onclick event is not triggering -
    By latif in forum 1.x Help
    Replies: 1
    Last Post: Nov 25, 2009, 12:25 PM

Posting Permissions