1. #1
    Ext User
    Join Date
    Mar 2009
    Posts
    21
    Vote Rating
    0
    painter is on a distinguished road

      0  

    Arrow How can select current day date and future day date only

    How can select current day date and future day date only


    Can any one help me,

    How can select current day date and future day date only not a past date from my calender.

    If try to click past day date it should not be select.

    I am using DateField

    var deactivatedDt= new Ext.form.DateField({
    format: 'm/d/Y'
    });

  2. #2
    Ext User shibubh's Avatar
    Join Date
    Jul 2007
    Location
    Lamahi,Dang Nepal
    Posts
    449
    Vote Rating
    0
    shibubh is on a distinguished road

      0  

    Default


    Code:
    xtype:'datefield',
    minValue: new Date().clearTime()
    Shibu Bhattarai

    Use JavaScript beautifier to beautify you code http://jsbeautifier.org/

    Code Conventions http://javascript.crockford.com/code.html

    ExtJS Core Manual http://extjs.com/products/extcore/manual/

  3. #3
    Ext User
    Join Date
    Mar 2009
    Posts
    21
    Vote Rating
    0
    painter is on a distinguished road

      0  

    Arrow


    thank you so much for ur helping, it is working fine.

Thread Participants: 1