Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: [3.x] Ext.date.RangeField

  1. #11
    Sencha User
    Join Date
    Nov 2007
    Posts
    294
    Vote Rating
    0
      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
      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
      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
      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
      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
      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 Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goinia - GO, Brazil
    Posts
    640
    Vote Rating
    49
      0  

    Default

    Any plans for ExtJS 4.x compatibility? thanks for the good extension!
    Wemerson Januario
    Site/Blog: http://wemersonjanuario.com.brFrom: Goinia, GO, Brazil
    Consulting Training and Web Development

  8. #18
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goinia - GO, Brazil
    Posts
    640
    Vote Rating
    49
      0  

    Default

    How are you leading with DateJs Vs Ext.Date incompatibity? Any Override dor Ext.3.++?
    Thanks
    Wemerson Januario
    Site/Blog: http://wemersonjanuario.com.brFrom: Goinia, GO, Brazil
    Consulting Training and Web Development

  9. #19
    Sencha User
    Join Date
    Mar 2010
    Posts
    1
    Vote Rating
    0
      0  

    Default 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
      0  

    Default

    Is this control updated for extjs version 4.1.1a?

Page 2 of 3 FirstFirst 123 LastLast

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •