[CLOSED] JS format function of datefield is missing

  1. #1

    [CLOSED] JS format function of datefield is missing

    Hi,
    I setted up this code :
    Ext.getCmp('dateField').getValue().format('m/d/Y')
    TypeError format is not a function
    Last edited by Daniil; Nov 06, 2012 at 12:08 PM. Reason: [CLOSED]
  2. #2
    In Ext.NET 2, there is a new client-side Ext.Date class. The format function has been moved to that class.

    http://docs.sencha.com/ext-js/4-1/#!...-method-format

    Example

    Ext.Date.format(dateValue, 'm/d/Y');
    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    Thanks it works

Similar Threads

  1. [CLOSED] GridPanel getRowEditor missing function
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 05, 2012, 10:07 AM
  2. DateField and Format
    By glenh in forum 1.x Help
    Replies: 2
    Last Post: Oct 19, 2010, 4:43 AM
  3. Missing SaveAs Function FileUpload Field
    By BLOZZY in forum 1.x Help
    Replies: 0
    Last Post: Sep 17, 2010, 2:31 PM
  4. DateField Format dd/MM/Y
    By Kaido in forum 1.x Help
    Replies: 2
    Last Post: Apr 13, 2009, 12:02 PM
  5. [CLOSED] Alot of missing function/properties after last update??
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 19
    Last Post: Jan 16, 2009, 7:24 AM

Posting Permissions