Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 70

Thread: Ext.ux.DateTimeField - DateTimePicker for ext4, also DateTimeMenu, TimePickerField

  1. #51
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    47

    Default

    Hi,Any plans to port this for ExtJS-5.. I am getting error clicking on the calendar icon..Problem seems to be that ExtJS-5 has removed Ext.dom.QueryspinnerWrapDom = Ext.dom.Query.select('td', this.getEl().dom)[1];spinnerWrap = Ext.get(spinnerWrapDom);

  2. #52
    Sencha User
    Join Date
    Feb 2011
    Posts
    1

    Default

    Hi,

    DateTimePicker works fine, for me, also in IE8 over ExtJS 4.2.1 with a little bugfix in DateTimePicker.js, row 32. Change:

    PHP Code:
    var table Ext.get(Ext.DomQuery.selectNode('table'this.el.dom)); 
    to:
    PHP Code:
    var table Ext.get(Ext.DomQuery.selectNode('table.x-datepicker-inner'this.el.dom)); 
    Great component, afterall!
    Thanks
    Pierfrancesco

  3. #53
    fabio.policeno's Avatar
    Join Date
    Sep 2010
    Location
    Curitiba - Brazil
    Posts
    366

    Default Fix error extjs 5

    Quote Originally Posted by madmax797 View Post
    Hi,Any plans to port this for ExtJS-5.. I am getting error clicking on the calendar icon..Problem seems to be that ExtJS-5 has removed Ext.dom.QueryspinnerWrapDom = Ext.dom.Query.select('td', this.getEl().dom)[1];spinnerWrap = Ext.get(spinnerWrapDom);
    Add require to Ext.DomHelper and change this method in timepicker to this:
    Code:
    onRender: function() {		var me = this/*, spinnerWrapDom*/, spinnerWrap;
    		me.callParent(arguments);
    
    
    		// render to original BaseField input td
    		spinnerWrap = Ext.get(Ext.DomQuery.selectNode('div', this.el.dom)); // 4.0.2 and 5.0.1
    		// spinnerWrapDom = Ext.dom.Query.select('td', this.getEl().dom)[1]; // 4.0 ->4.1 div->td
    		// spinnerWrap = Ext.get(spinnerWrapDom);
    		me.callSpinnersFunction('render', spinnerWrap);
    
    
    		Ext.core.DomHelper.append(spinnerWrap, {
    			tag: 'div',
    			cls: 'x-form-clear-left'
    		});
    
    
    		this.setRawValue(this.value);
    	},
    But I still can not edit the timepicker, timepicker when I click on the datepicker closes

  4. #54
    Sencha User
    Join Date
    Mar 2011
    Posts
    33

    Default

    Sorry, we have not upgrade our application to Ext5, and I don't know how many users had upgrade.
    If you need the 5 version, leave your message. thanks.

  5. #55
    fabio.policeno's Avatar
    Join Date
    Sep 2010
    Location
    Curitiba - Brazil
    Posts
    366

    Default Fixed

    Quote Originally Posted by fabio.policeno View Post
    Add require to Ext.DomHelper and change this method in timepicker to this:
    Code:
    onRender: function() {        var me = this/*, spinnerWrapDom*/, spinnerWrap;
            me.callParent(arguments);
    
    
            // render to original BaseField input td
            spinnerWrap = Ext.get(Ext.DomQuery.selectNode('div', this.el.dom)); // 4.0.2 and 5.0.1
            // spinnerWrapDom = Ext.dom.Query.select('td', this.getEl().dom)[1]; // 4.0 ->4.1 div->td
            // spinnerWrap = Ext.get(spinnerWrapDom);
            me.callSpinnersFunction('render', spinnerWrap);
    
    
            Ext.core.DomHelper.append(spinnerWrap, {
                tag: 'div',
                cls: 'x-form-clear-left'
            });
    
    
            this.setRawValue(this.value);
        },
    But I still can not edit the timepicker, timepicker when I click on the datepicker closes
    Add this override in Ext.ux.form.field.DateTime:
    Code:
    collapseIf: function(e) { var me = this; if (!me.isDestroyed && !e.within(me.bodyEl, false, true) && !e.within(me.picker.el, false, true)) { me.collapse(); } }

  6. #56

    Default 5.0

    Yeah,it have too many errors in extjs5.0,so,if u are free please upgrade this plugins to version 5.0
    so many thanks

  7. #57
    Sencha Premium User
    Join Date
    Jan 2014
    Location
    Italy
    Posts
    116

    Default

    Upgrade to 5.x please

  8. #58
    Sencha User Misiu's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    264

    Default

    +1 on 5.0 upgrade.
    If You have some free time then please upgrade this awesome plugin.

  9. #59
    Sencha User
    Join Date
    Nov 2014
    Posts
    1

    Default thinks


  10. #60
    Sencha User
    Join Date
    Jan 2015
    Posts
    2

    Default

    +1 to extjs 5 update.

Page 6 of 7 FirstFirst ... 4567 LastLast

Posting Permissions

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