1. #1
    Ext JS Premium Member devtig's Avatar
    Join Date
    Jan 2010
    Location
    Rotterdam, The Netherlands
    Posts
    389
    Vote Rating
    13
    devtig will become famous soon enough

      0  

    Default Change event on form

    Change event on form


    I'd like to listen to my form to know if any field has changed, but I can't find a change event on form. I can listen to clientValidation, but that doesn't tell me if a value has changed (not without comparing hashes of getValues() or something). Don't want to iterate through all fields applying a listener to a change event either. (I've looked through the forums, but couldn't find nothing. Did find http://hutten.org/bill/extjs/2009/11...ng-for-al.html )

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,501
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Code:
    Ext.form.Field.prototype.initComponent = Ext.form.Field.prototype.initComponent.createSequence(function() {
        this.enableBubble('change');
    });
    Then listen for change on the FormPanel (or, in fact on any ancestor Container)

  3. #3
    Ext JS Premium Member devtig's Avatar
    Join Date
    Jan 2010
    Location
    Rotterdam, The Netherlands
    Posts
    389
    Vote Rating
    13
    devtig will become famous soon enough

      0  

    Default


    Thanks man. That goes into my ExtOverrides.js.

Similar Threads

  1. Ext.form.ComboBox, change Event doesn't work
    By Enrico in forum Ext 1.x: Bugs
    Replies: 16
    Last Post: 13 Mar 2014, 1:45 AM
  2. Replies: 4
    Last Post: 23 Jul 2010, 4:51 AM
  3. [2.2.1] Bug in Ext.form.DateField "change" event on IE7
    By devil1591 in forum Ext 2.x: Bugs
    Replies: 11
    Last Post: 17 Apr 2009, 9:10 AM
  4. Ext.form.DateField change Event question
    By pinney.colton in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 6 Aug 2008, 12:44 PM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi