Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






IE 7 Freeze

UserPost

14:55
18/06/2012


DysprosiumDy

New Member

posts 2

Hey guys,


After an upgrade from 4.2.0 to 4.3.3 we noticed our grids causing a browser freeze in IE7 (tested on multiple devices and even in compatibility mode). This same bug still occurs in 4.4.0 and has caused us to perform a rollback to 4.2.0.

I know what a bitch IE7 can be, but we have costumers that cannot change their default network browser, so IE7 support remains a requirement.

Cheers,
Dys


P.S. I also tested with a grid with only the url parameter set and the bug still occurred. Changing the version of jqGrid to 4.2.0 immediately fixed the issue.

16:21
18/06/2012


DysprosiumDy

New Member

posts 2

Hey guys,

An update on the matter. It would appear the freezes were caused by the "height" parameter. Setting that to a value of 200 or higher causes a complete browser freeze. Setting the value to 100 caused no problems. Apparently height values cause the freeze over a certain value (might differ in specific cases).

I hope this'll help you fix it!

Cheers,
Dys

12:35
30/06/2012


sebmaster

Member

posts 3

Same trouble. Back to 4.3.2

14:01
10/07/2012


tony

Sofia, Bulgaria

Moderator

posts 7043

Hello All,


Coild you please provide a online example demostarting the problem?

Thank you


Kind Regards

Tony

14:41
24/12/2012


nielsilmer

Member

posts 4

Same problem here. ie7/ie8 and ie9 in compatibility view.

The problem didn't occur when i removed the height attribute.


My conf:


jQuery(document).ready(function() {
mygrid = jQuery('#'+news_grid_id).jqGrid({
 'autowidth':false,
 'datatype':'json',
 'url':'<?php echo Yii::app()->createUrl('news/news/index',$this->arguments); ?>',
 'editurl':'<?php echo Yii::app()->createUrl('news/news/delete',$this->arguments); ?>',
 'colNames':['<?php echo news::model()->getAttributeLabel('title_nl'); ?>','','','',''],
 'rowNum':20,
 'rowList':[1,20,50,100],
 'sortname':'sortorder',
 'sortorder':'asc',
 'multiselect':true,
 'caption':'pagina's',
 'ondblClickRow':function(rowid,iRow,iCol,e){
        openItemDetail(rowid);
 },
 loadComplete: function(){ 
        var ids = jQuery("#"+news_grid_id).getDataIDs();
        for(var i=0;i<ids.length;i++){ 
            var cl = ids[i]; 
   view  = "<span style='cursor: pointer;' class='ui-icon ui-icon-info'  onclick=openItemDetail("+cl+");  ></span>";     
   var cont = jQuery("#"+news_grid_id).getCell(cl, "statusitem");
   if(cont=='1'){
    statusitem = "<span style='cursor: pointer;' class='ui-icon ui-icon-check'  onclick=ChangeStatus("+cl+",news_grid_id); ></span>";
   }else{
    statusitem = "<span style='cursor: pointer;' class='ui-icon ui-icon-close'  onclick=ChangeStatus("+cl+",news_grid_id); ></span>";
   }
   edit  = "<span style='cursor: pointer;' class='ui-icon ui-icon-pencil' onclick=editRow("+cl+"); ></span>"; 
   del   = "<span style='cursor: pointer;' class='ui-icon ui-icon-trash'  onclick=delRow(news_grid_id,"+cl+"); ></span>";
            jQuery("#"+news_grid_id).setRowData(ids[i],{view:view,statusitem:statusitem,edit:edit,del:del})
        } 
    },
 'colModel':[
   {'index':'title_nl','name':'<?php echo news::model()->getAttributeLabel('title_nl'); ?>'},
   {name:'view'  , index:'view'   , sortable:false, search: false, fixed: 1, width: 16},
   {name:'statusitem' , index:'statusitem' , sortable:false, search: false, fixed: 1, width: 16},
         {name:'edit'  , index:'edit'   , sortable:false, search: false, fixed: 1, width: 16},
   {name:'del'   , index:'del'   , sortable:false, search: false, fixed: 1, width: 16},
         ],
 'pager':news_pager_id}).navGrid('#'+news_pager_id, {'edit':false,'add':false,'del':false,'search':false,'refresh':true});

 jQuery('#'+news_grid_id).jqGrid('filterToolbar');

 resize_the_grid(news_grid_id);
 $('#jqgh_cb').remove();
});

00:28
10/01/2013


airic37

New Member

posts 1

I believe I am experiencing the same issue.  For us we were already on jqgrid 4.4 but upgrading to jquery 1.7.2 has causes IE to hang as soon as the grid is created.  Has there been any investigation into this?  Any additional details I can provide?


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

dpotter

93 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9661

Posts: 28948

Membership:

There are 10355 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1167

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7043 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information