-
19 Jul 2012 3:47 AM #31
-
14 Aug 2012 8:18 PM #32
hi, you did a great job, but can you leave a sample here or in github please. thanks.
-
14 Aug 2012 10:29 PM #33
Ok . I upload new example.
But use this component is very simple and like default DatePicker. Just import js files (Please be careful the order them) and Use Ext.form.field.PDatefield like Ext.form.field.DatefieldNo honor is like knowledge
-
15 Aug 2012 2:31 AM #34
I use PDate with ext-4.0.7-gpl/ext-all.js version and every things is OK and really it's great,
but when i want to use ext-4.1.0-gpl/ext-all.js or ext-4.1.0-gpl/ext-all-debug.js I got this error: me.eventEl is null.
me.callParent function set me.eventEl as null !!!Code:onRender : function(container, position){ var me = this; debugger; me.callParent(arguments); me.el.unselectable(); me.cells = me.eventEl.select('tbody td'); me.textNodes = me.eventEl.query('tbody td span'); },
Solved:
I made some changes in your codes and now it's work on version 4.1
thanks again for your nice job, good luck.Last edited by mehdiemrani; 15 Aug 2012 at 4:39 AM. Reason: Problem Solved
-
9 Oct 2012 3:01 AM #35
-
9 Oct 2012 11:40 PM #36
Ext 4.1.1
No honor is like knowledge
-
13 Oct 2012 4:33 AM #37
Thanks Vahid
your update works perfectly except whenever i try month view this error occurs
Looking at your code i figured out you're missing a requires section like thisCode:Ext.picker.PMonth( is not a constructor
adding that line to picker/PDate.js fixed the problemCode:requires: ['Ext.picker.PMonth']
-
13 Oct 2012 9:39 PM #38
Thanks Update
No honor is like knowledge
-
9 Mar 2013 3:18 AM #39
sample use of Ext.PDate
sample use of Ext.PDate
download attachment and enjoy




Reply With Quote
