1. #11
    Sencha User
    Join Date
    Nov 2007
    Posts
    294
    Vote Rating
    0
    Sesshomurai is on a distinguished road

      0  

    Default


    This looks good. One suggestion. The second date picked should black out all the dates before the first date selected.

  2. #12
    Sencha User kryo's Avatar
    Join Date
    Jan 2010
    Location
    Costa Rica
    Posts
    34
    Vote Rating
    0
    kryo is on a distinguished road

      0  

    Default


    Hello, and thank you for your suggestion. With this new version, it doesn't matter which side you pick from, it will always deliver "[lowest date] to [highest date]". So the need to black out dates isn't necessary anymore. However, if you would like to do that, it's very simple to hook into the events for those pickers, or also you can make an extension of that renderer function to accommodate that functionality.
    --
    Hans Doller
    hans@w3forge.org
    Senior Web Developer & Consultant

    Contributed Plugins: Ext.date.RangeField, Ext.money.Exchange, Ext.locale.Format, Ext.ux.Bootstrap

  3. #13
    Sencha User brittongr's Avatar
    Join Date
    Jun 2007
    Location
    Panama
    Posts
    109
    Vote Rating
    3
    brittongr is on a distinguished road

      0  

    Default


    Looks great!! I will give it a try...
    Greivin Britton

    My Extensions:
    Ext.ux.NumericField: Number field with support for currencySymbol, thousand separator, international...
    Ext.ux.PagerSizeSelector: A plugin that allows the change page size with just one click.
    Ext.ux.FieldAccess: A plugin to let the user know which fields are editable.

  4. #14
    Sencha User
    Join Date
    Sep 2009
    Posts
    112
    Vote Rating
    0
    asagala is on a distinguished road

      0  

    Default


    Good job on the new version. Been using the old one and it was a pain to manage all the i18n stuff. Now its easy. Also good job on adding events that we can trap.

  5. #15
    Sencha User
    Join Date
    Dec 2010
    Location
    Aylesbury UK
    Posts
    6
    Vote Rating
    0
    lizucagirl is on a distinguished road

      0  

    Default


    I am using this plugin and I was wondering how can I extend it so that it contains also time along with dates? Something like Ext.form.TimeField has.

    Many thanks!

  6. #16
    Sencha User kryo's Avatar
    Join Date
    Jan 2010
    Location
    Costa Rica
    Posts
    34
    Vote Rating
    0
    kryo is on a distinguished road

      0  

    Default


    Hi lizucagirl,

    The way the pickers are generated is by using renderer functions, defined in the object: Ext.date.MenuRenderer

    You can define a new renderer function that returns a configured time field and/or datetime field. To hook this renderer into the Ext.date.RangeField object, you can extend/overwrite the pickers() method which is defined by default in Ext.date.RangeField.defaults.

    The values used internally for this object are JS Date() classes. So there shouldn't be any problem with storing the time value internally, but you'll also need to change the "format" configuration of the Ext.date.RangeField class, so that the time is displayed in the field.

    Hope this helps!
    --
    Hans Doller
    hans@w3forge.org
    Senior Web Developer & Consultant

    Contributed Plugins: Ext.date.RangeField, Ext.money.Exchange, Ext.locale.Format, Ext.ux.Bootstrap

  7. #17
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    433
    Vote Rating
    6
    wemerson.januario is on a distinguished road

      0  

    Default


    Any plans for ExtJS 4.x compatibility? thanks for the good extension!
    Wemerson Januario
    Twitter:
    @wemersonjanuar
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 9106-6689
    From: Goiânia, Brazil
    Desenvolvedor ExtJS/ ExtJS Developer

  8. #18
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    433
    Vote Rating
    6
    wemerson.januario is on a distinguished road

      0  

    Default


    How are you leading with DateJs Vs Ext.Date incompatibity? Any Override dor Ext.3.++?
    Thanks
    Wemerson Januario
    Twitter:
    @wemersonjanuar
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 9106-6689
    From: Goiânia, Brazil
    Desenvolvedor ExtJS/ ExtJS Developer

  9. #19
    Sencha User
    Join Date
    Mar 2010
    Posts
    1
    Vote Rating
    0
    babydeed is on a distinguished road

      0  

    Default how can i use it in ext2.0

    how can i use it in ext2.0


    I use it in ext2.0 . But I find when click the button "Custom date range",the right menu cannot show . How to resolve!
    Thanks you!

  10. #20
    Sencha User
    Join Date
    Jan 2013
    Posts
    6
    Vote Rating
    0
    sa.saurabh is on a distinguished road

      0  

    Default


    Is this control updated for extjs version 4.1.1a?

Similar Threads

  1. How can select future day date only not a past date and current date
    By painter in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 6 Apr 2009, 10:11 PM
  2. GridView date and date store Date
    By saipkjai in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 21 Jan 2009, 7:19 PM
  3. How to set month start date month end date default in date field
    By frank_ash in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 17 Oct 2008, 6:59 AM
  4. Newbie Question about disable shadow of the date picker's date field
    By fm424946 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 13 Nov 2007, 9:02 AM

Thread Participants: 9

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi