[CLOSED] DateField with days disable

  1. #1

    [CLOSED] DateField with days disable

    you can manage a range of dates?
    I want the DateField is active for example, only from a certain date.
    Will be selected only days after 9/30/2010
    the previous days must be disabled
    is this possible?
    Last edited by Daniil; Oct 01, 2010 at 12:25 PM. Reason: [CLOSED]
  2. #2
  3. #3
    works, but only the first time.


    minValue can be set only once?
    maybe I have to reset the object?


     <ext:DateField 
                            ID="DateFieldDataIniziale"
                            Format="dd-MM-yyyy"
                            Width="220" 
                            Editable="false"
                            runat="server"> 
                            <Listeners>
                                <Select Handler="DateFieldDataFinale.minValue = this.getValue()" />               
                            </Listeners>                                          
                    </ext:DateField>
                     
                        <ext:DateField 
                            ID="DateFieldDataFinale"
                            Format="dd-MM-yyyy"
                            Width="220"
                            Editable="false"
                            runat="server">  
                             <Listeners>
                                <Select Handler="DateFieldDataIniziale.maxValue = this.getValue()" />               
                            </Listeners>                                             
                    </ext:DateField>
  4. #4
  5. #5
    perfect!!!!!!!!!!!
  6. #6
    I have one last question.
    to reset the calendar as I do?
    resetMaxValue does not exist!
  7. #7
    Hi,

    Please try this
    http://dev.sencha.com/deploy/dev/doc...d&member=reset

    If it won't help with reseting minValue and maxValue, try this:
    .setMinValue(null)
    .setMaxValue(null)

Similar Threads

  1. [CLOSED] Disable Validation Tooltip in DateField
    By softmachine2011 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 02, 2012, 1:52 PM
  2. [CLOSED] DateField: How to disable auto correct?
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 08, 2011, 8:14 AM
  3. [CLOSED] How to disable typing on a DateField
    By hgouw in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 27, 2011, 11:21 PM
  4. Disable DateField using Javascript
    By Suraj in forum 1.x Help
    Replies: 2
    Last Post: Sep 14, 2009, 5:42 PM
  5. [CLOSED] Add days to datefield in javascript?
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 21, 2009, 12:24 PM

Posting Permissions