PDA

View Full Version : How to extend two classes in ExtJS?



mayurgite.it
24 Nov 2015, 11:27 PM
I am using ExtJS 3.4, I want to create new DateTimeField from
Ext.form.DateField and
Ext.form.TimeField. What I found from source code(ExtJS 3.4) is that we need to extend few components to create new component. Please guide me to get in right direction.

Gary Schlosberg
25 Nov 2015, 6:19 AM
This has been done before, so you should be able to find a community offering. Here's one that apparently works with 3.x:
https://www.sencha.com/forum/showthread.php?62597

Here's another which works with 4.x, so perhaps it can be adapted:
https://github.com/gportela85/DateTimeField

mayurgite.it
25 Nov 2015, 6:54 AM
Thanks a lot Gary for helping me, it really helped me lot.