Results 1 to 3 of 3

Thread: Ext.form.Field onchange event

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Nov 2009
    Location
    Napoli (Italy)
    Posts
    65

    Default Ext.form.Field onchange event

    Hi all,

    I need add change listener to my field but chang event call only if I lost focus, click mouse on other item, use tab key and oters. Can I manage add character or remove character event?

    Thanks

  2. #2
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750

    Default

    TextField, NumberField, DateField, etc., all have keydown, keypress, and keyup events (as well as specialkey) you can use. Don't forget to set enableKeyEvents to true.

  3. #3
    Sencha User
    Join Date
    Nov 2009
    Location
    Napoli (Italy)
    Posts
    65

    Default Thankyou

    Thanks a lot

Similar Threads

  1. Help with onchange event with tree and form.
    By Reimius in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 26 Jul 2010, 11:48 AM
  2. The right way to add an onChange event to a text field
    By cindiv30 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Apr 2008, 7:43 PM
  3. Ext.form.TextField 'onChange' event
    By amitava in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 3 Aug 2007, 6:48 AM
  4. Ext.form.Field.setValue() and reset() should fire "onchange"
    By Artur Bodera (Joust) in forum Ext 1.x: Bugs
    Replies: 3
    Last Post: 17 May 2007, 6:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •