11 Mar 2011 5:40 AM #11
This looks good. One suggestion. The second date picked should black out all the dates before the first date selected.
11 Mar 2011 8:38 PM #12
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.
11 Mar 2011 9:57 PM #13
Looks great!! I will give it a try...Greivin Britton
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.
22 Mar 2011 1:04 PM #14
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.
9 May 2011 7:44 AM #15
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.
9 May 2011 9:39 AM #16
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!
8 Dec 2011 3:00 AM #17
12 Dec 2011 3:40 AM #18
27 Feb 2012 5:04 AM #19
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!
8 Jan 2013 11:53 PM #20
Is this control updated for extjs version 4.1.1a?
By painter in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 6 Apr 2009, 10:11 PM
By saipkjai in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 21 Jan 2009, 7:19 PM
By frank_ash in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 17 Oct 2008, 6:59 AM
By fm424946 in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 13 Nov 2007, 9:02 AM