-
9 Jun 2010 9:35 AM #21
Thanks for the info, I'm going to look into it out a little bit later.
In this case ($this = this), it seems a little bit of jquery philosophy snuck-in. Since jQuery is no-where close to ExtJs as far as scoping is concerned, so I tend to emulate scoping by defining '$this' as the current 'this', so when i'm in a different scope, I can recall $this later. Some people do "var self = this;" but I like the '$' prefix, what can i say! :-)--
Hans Doller
hans@w3forge.org
Senior Web Developer & Consultant
Contributed Plugins: Ext.date.RangeField, Ext.money.Exchange, Ext.locale.Format, Ext.ux.Bootstrap
-
18 Jun 2010 4:37 AM #22
Hi there,
Great extension - am using it nicely here
It'd be great if you were able to allowBlank as sometimes you might not want a date to be entered in the field.
I'm going to have a quick look and see if its simple to implement myself and if so will post here afterwards.
Thanks,
Ryan
-
12 Oct 2010 8:30 AM #23
nice work! viewing the demo, this is exactly what i need. i am going to download it and give it a whirl! thx!
-
17 Oct 2010 7:36 PM #24
In Ext 3.3.0 the use of the class is affecting the DateField component.
DateField acquired the strange behavior.
there must be some incompatibility...
-
17 Oct 2010 8:40 PM #25
This might be due to the DateJS bundle. There was a method conflict between the two libraries which required an ugly hack, it's probably come back to haunt me. In either case, I'm working on an improved version of this library which I will share as soon as it's ready.
--
Hans Doller
hans@w3forge.org
Senior Web Developer & Consultant
Contributed Plugins: Ext.date.RangeField, Ext.money.Exchange, Ext.locale.Format, Ext.ux.Bootstrap
-
26 Jan 2011 2:06 PM #26
Great job. You should probably isolate the strings so we can translate them
Code:fromdatetitle:'From Date', todatetitle:'To Date',
P.S For this to work you need to add the this scope on the iterate statementCode:p1 = instanciateDatePickerPanel({ role:'start', title:this.fromdatetitle },{maxDate: dateToday}); p2 = instanciateDatePickerPanel({ role:'end', title:this.todatetitle },{maxDate: dateToday});
Code:Ext.iterate(this.presets,function(key,value){ ...... ,this}):Last edited by asagala; 26 Jan 2011 at 2:11 PM. Reason: notes
-
29 Jan 2011 9:05 PM #27
Thank you all for your comments/suggestions. I have just released a totally new version of this plugin, which can be found here:
http://www.sencha.com/forum/showthre...ate.RangeField
Enjoy!
P.S. Edit post feature is broken... didn't let me fix my spelling error! :-)--
Hans Doller
hans@w3forge.org
Senior Web Developer & Consultant
Contributed Plugins: Ext.date.RangeField, Ext.money.Exchange, Ext.locale.Format, Ext.ux.Bootstrap
-
2 Feb 2011 5:22 AM #28
great extension indeed.. thanks u so much for sharing this with us Kryo..
"People will never forget how you made them feel."
linkedin.com/in/talhakabakus
-
2 Feb 2011 7:57 AM #29
Glad you liked it talha06. I'm not sure if you've seen the new rewrite of this plugin, but if you haven't already, please check out http://www.sencha.com/forum/showthre...ate.RangeField
--
Hans Doller
hans@w3forge.org
Senior Web Developer & Consultant
Contributed Plugins: Ext.date.RangeField, Ext.money.Exchange, Ext.locale.Format, Ext.ux.Bootstrap
-
20 Sep 2011 5:36 AM #30
Is it possible to embed this in ext gwt? If yes, how to do it?


Reply With Quote