1. #11
    Sencha User
    Join Date
    Jun 2011
    Posts
    17
    Vote Rating
    0
    trvd1707 is on a distinguished road

      0  

    Default


    BTW I removed all the extra css from index.html, leaving just the bare minimum for the component to work and I still get the error.
    Thanks for any help on that. I would like to be able to deploy without changes to ext-all.js if possible.

  2. #12
    Sencha User
    Join Date
    Jul 2009
    Posts
    16
    Vote Rating
    0
    sormy is on a distinguished road

      0  

    Default


    I have no errors in IE6 on Ext 3.3.1
    but I have error in resize when decreasing width of window.
    It seems like IE6 HBOX layout problem. I have no idea how to fix it. I recommend you to try found solution for IE6 HBOX on this forum.

  3. #13
    Sencha User
    Join Date
    Jun 2011
    Posts
    17
    Vote Rating
    0
    trvd1707 is on a distinguished road

      0  

    Default


    I went step by step, putting some alert around the code and I got to the problem. It is the layout:'fit' that is causing the code to crash when it is rendering the list views on the itemSelectorEx component.

    For now,as a workaround, everywhere you have layout:'fit' I replaced by layout:Ext.isIE?'auto':'fit'.

    This allows the list views to render in IE, but they don't have a vertical scroll bar.

    Any idea on how to fix it?

    Thanks,
    Teresa

  4. #14
    Sencha User
    Join Date
    Jul 2009
    Posts
    16
    Vote Rating
    0
    sormy is on a distinguished road

      0  

    Default


    ExtJS doesn't have auto layout.
    There are problems with vbox/hbox layouts in IE6 with ExtJS 3.3.1 (incorrect absolute positioning)
    But it's not fatal, because problem occurred only if you decrease size of window (in ExtJS 3.3.1).
    Did you try ExtJS 3.3.1 or ExtJS 3.4.0 ?
    If you product will work on closed network i recommend you to install google chrome frame for very conservative users.

  5. #15
    Sencha User
    Join Date
    Jun 2011
    Posts
    17
    Vote Rating
    0
    trvd1707 is on a distinguished road

      0  

    Default


    I got the 'auto' layout from the documentation. It's the default layout. Unfortunately I have no choice on the version of ExtJS to use or the browser. My client mandates ExtJS 3.2.1 and browser IE6

  6. #16
    Sencha User
    Join Date
    Jul 2009
    Posts
    16
    Vote Rating
    0
    sormy is on a distinguished road

      0  

    Default


    Your example on steroids:
    window size decreasing not working in IE6
    PHP Code:
        Ext.override(Ext.list.ListView, {
            
    // private
            
    onResize : function(wh){
                var 
    bd this.innerBody.dom;
                var 
    hd this.innerHd.dom;
                if(!
    bd){
                    return;
                }
                var 
    bdp bd.parentNode;
                if(
    Ext.isNumber(w)){
                    var 
    sw Ext.num(this.scrollOffsetExt.getScrollBarWidth());
                    if(
    this.reserveScrollOffset || ((bdp.offsetWidth bdp.clientWidth) > 10)){
                         
    bd.style.width = (sw sw) + 'px'// patch
                         
    hd.style.width = (sw sw) + 'px'// patch
                    
    }else{
                        
    bd.style.width 'px';
                        
    hd.style.width 'px';
                        
    setTimeout(function(){
                            if((
    bdp.offsetWidth bdp.clientWidth) > 10){
                                
    bd.style.width sw 'px';
                                
    hd.style.width sw 'px';
                            }
                        }, 
    10);
                    }
                }
                if(
    Ext.isNumber(h)){
                    
    bdp.style.height = (hd.parentNode.offsetHeight) + 'px';
                }
            }
        });
        
        
    Ext.BLANK_IMAGE_URL 'images/default/s.gif';
           
        
    Ext.onReady(function (){    
            
    Ext.ux.form.ItemSelectorEx.prototype.imagesDir './images';
            
            var 
    myArray = [
                [
    1'value1'],
                [
    2'value2'],
                [
    3'value3'],
                [
    4'value4'],
                [
    5'value5'],
                [
    6'value6'],
                [
    7'value7'],
                [
    8'value8'],
                [
    9'value9'],
                [
    10'value10'],
                [
    11'value11'],
                [
    12'value12']
            ];
            
            var 
    shareReportCard = {
                
    xtype'form',
                
    buttonAlign'center',
                
    labelAlign'top',
                
    borderfalse,
                
    padding10,
                
    buttons:[
                    {
                        
    xtype:'button',
                        
    text:"OK",
                        
    listeners:{
                             
    click: function(b,e){                         
                                 var list = 
    Ext.getCmp('list-users').getValue();
                                 var 
    selectedUsers = list.split(',');
                                 var 
    totalSelected selectedUsers.length;
                                 for (var 
    i=0i<totalSelected; ++i){
                                     var 
    index selectedUsers[i] || 1;
                                     
    selectedUsers[i]=myArray[index-1][1];
                                 }


                                 
    alert("Selected USERS:"selectedUsers);
                                 
                                 
    shareWindow.close();
                             }
                        }
                    }
                ],
                
    items: [
                    {
                        
    fieldLabel'Item Selector',
                        
    xtype"itemselectorex",
                        
    id:'list-users',
                        
    storemyArray,
                        
    anchor'100% 100%',
                        
    name'itemselector1'
                    
    }
                ]
            };


            var 
    shareWindow = new Ext.Window({
                
    title'Share report:',
                
    layout'fit',
                
    width400,
                
    height400,
                
    resizable: !Ext.isIE,
                
    items:shareReportCard
            
    });


            
    shareWindow.show();
        }); 

  7. #17
    Sencha User
    Join Date
    Jun 2011
    Posts
    17
    Vote Rating
    0
    trvd1707 is on a distinguished road

      0  

    Default


    Thank you! It worked. I didn't know we could override Ext methods like this. And it is even showing the scroll bar on the list view now. I have to make the layout:'fit' on the window.

  8. #18
    Sencha User
    Join Date
    Jul 2012
    Posts
    5
    Vote Rating
    0
    AnuDhiman is on a distinguished road

      0  

    Default Rendering of Itemselector in IE9

    Rendering of Itemselector in IE9


    As the page loads..all the controls except Itemselector displays..
    & when i set the compatibility icon in address bar..it gets shown..
    dont know why this is happening...


    please help

    Thanx

  9. #19
    Sencha User
    Join Date
    Feb 2011
    Posts
    3
    Vote Rating
    0
    vinay_vrrc is on a distinguished road

      0  

    Default


    I am using ExtJS 4 and the plugin doesnt work because ListView is no longer supported by ExtJs4.Is there a fix for this?

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