1. #11
    Sencha User maiconschelter's Avatar
    Join Date
    Nov 2008
    Location
    Brazil
    Posts
    15
    Vote Rating
    6
    maiconschelter is on a distinguished road

      0  

    Default


    Quote Originally Posted by shawon View Post
    Hey in ExtJS 4.1 RC1 the picker is not showing the "Ok" and "Cancel" button text. Can any one help me on this?
    Found here: http://www.sencha.com/forum/showthre...Field&p=781724

  2. #12
    Sencha User
    Join Date
    Jun 2011
    Posts
    12
    Vote Rating
    0
    shawon is on a distinguished road

      0  

    Default


    thanks maiconschelter,
    it resolved the issue.

  3. #13
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    alexfrg is on a distinguished road

      0  

    Default


    In this example ( http://ext4all.com/post/ext4-monthfi...ker-for-extjs4 ),you can not selectin February- the dateis reset toMarch
    Thisbugasitdepends on the currentdate (lastnedaleeverything workedOK)

  4. #14
    Sencha User
    Join Date
    Jun 2012
    Posts
    82
    Vote Rating
    1
    dr-dan is on a distinguished road

      0  

    Default


    DELETED
    Last edited by dr-dan; 19 Oct 2012 at 3:42 AM. Reason: didnt see second page

  5. #15
    Sencha User
    Join Date
    Jan 2008
    Location
    Levittown, PA
    Posts
    300
    Vote Rating
    1
    mjhaston is on a distinguished road

      0  

    Default


    Super helpful. Thank you!

  6. #16
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    113
    Vote Rating
    0
    JacobGu is on a distinguished road

      0  

    Default


    Has anyone updated the month field for 4.2(.1)? When I use it, the bottom row is cut off (i.e., Jun, Dec, 2013, 2018). (see screenshot). Using a regular date field and switching to month picker, it does show properly.Screen Shot 2013-05-28 at 1.12.24 PM.png
    Last edited by JacobGu; 28 May 2013 at 9:24 AM. Reason: typo

  7. #17
    Sencha User
    Join Date
    Jan 2008
    Location
    Levittown, PA
    Posts
    300
    Vote Rating
    1
    mjhaston is on a distinguished road

      0  

    Default


    I wonder if it's a Neptune thing? You're using that theme correct? I'm using 4.1 and it still appears fine. I know you asked about 4.2, but thought I would chime in. I did go to 4.2 at one point, but the theme I'm using was a little out of sorts, so I went back.
    Attached Images

  8. #18
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    113
    Vote Rating
    0
    JacobGu is on a distinguished road

      0  

    Default


    It does look fine for me in 4.1. I'm in the process now of upgrading my application to 4.2.1 from 4.1.1, and this is a bug I am finding. It seems like it's something in the layout process because the picker height style is set too short (probably by layout manager).

  9. #19
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    113
    Vote Rating
    0
    JacobGu is on a distinguished road

      0  

    Default


    Ok, so I've normalized it down to the simplest expression of the bug, that is, month picker used directly without the month field. It's clearly a bug in the Ext JS framework: http://jsfiddle.net/jacobg/fztKD/

    Bug filed here: http://www.sencha.com/forum/showthre...bottom-cut-off

  10. #20
    Ext JS Premium Member
    Join Date
    Jun 2011
    Location
    St. Louis
    Posts
    206
    Vote Rating
    8
    jimmylu98 will become famous soon enough

      0  

    Default


    There is a bug and I have reported use ticket system. And I tried to find this thread I have created, but I couldn't find. Looks someone move this thread to community discussion (It was in demo/example?).

    Below are the line to fix the bug as well as updated full code.

    PHP Code:
            height200

    PHP Code:

    Ext
    .define('Ext.form.field.Month', {    extend:'Ext.form.field.Date',    alias'widget.monthfield',
        
    requires: ['Ext.picker.Month'],
        
    alternateClassName: ['Ext.form.MonthField''Ext.form.Month'],
        
    selectMonthnull,
        
    createPicker: function() {
            var 
    me this,
                
    format Ext.String.format;
            return 
    Ext.create('Ext.picker.Month', {
                
    pickerFieldme,
                
    ownerCtme.ownerCt,
                
    renderTodocument.body,
                
    floatingtrue,
                
    hiddentrue,
                
    focusOnShowtrue,
            
    height200,
                
    minDateme.minValue,
                
    maxDateme.maxValue,
                
    disabledDatesREme.disabledDatesRE,
                
    disabledDatesTextme.disabledDatesText,
                
    disabledDaysme.disabledDays,
                
    disabledDaysTextme.disabledDaysText,
                
    formatme.format,
                
    showTodayme.showToday,
                
    startDayme.startDay,
                
    minTextformat(me.minTextme.formatDate(me.minValue)),
                
    maxTextformat(me.maxTextme.formatDate(me.maxValue)),
                
    listeners: { 
            
    select:        { scopeme,   fnme.onSelect     }, 
            
    monthdblclick: { scopeme,   fnme.onOKClick     },    
            
    yeardblclick:  { scopeme,   fnme.onOKClick     },
            
    OkClick:       { scopeme,   fnme.onOKClick     },    
            
    CancelClick:   { scopeme,   fnme.onCancelClick }        
                },
                
    keyNavConfig: {
                    
    esc: function() {
                        
    me.collapse();
                    }
                }
            });
        },
        
    onSelect: function(md) {
            var 
    me this;    
        
    me.selectMonth = new Date(( d[0]+) +'/1/'+d[1]);
        },
        
    onOKClick: function() {
            var 
    me this;    
        if( 
    me.selectMonth ) {
                   
    me.setValue(me.selectMonth);
                
    me.fireEvent('select'meme.selectMonth);
        }
            
    me.collapse();
        },
        
    onCancelClick: function() {
            var 
    me this;    
        
    me.selectMonth null;
            
    me.collapse();
        }
    }); 

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar