[CLOSED] Override getValue() javascript function from numberField

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Override getValue() javascript function from numberField

    Is there any way to override getValue() javascript function from numberField?

    It does this

        getValue : function(){
            return this.fixPrecision(this.parseValue(Ext.form.NumberField.superclass.getValue.call(this)));
        }
    i'm making a custom control inheriting from numberfield and i need to call another function before returning.
    Last edited by Daniil; Sep 02, 2010 at 4:12 PM. Reason: [CLOSED]

Similar Threads

  1. Replies: 2
    Last Post: Jun 06, 2012, 8:27 PM
  2. Replies: 12
    Last Post: Jan 05, 2012, 11:39 AM
  3. Replies: 1
    Last Post: Jun 29, 2011, 3:00 AM
  4. [CLOSED] Verify if a numberfield is empty in javascript.
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 30, 2010, 8:25 PM
  5. [CLOSED] Javascript error on NumberField
    By jsemple in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Sep 09, 2009, 3:56 PM

Posting Permissions