Forum



17:48

28/08/2012

Hello,
I'm testing out jqGrids (4.4.0) and would like to add functionality so that when the window is resized all jqGrids on the page are resized too. Everything is working great in FF, IE8, IE9 but IE7 just hangs (in an infinite loop). When using "jquery-1.4.2.js" IE7 does not hang but when using "jquery-1.7.2.min.js" IE7 hangs.
Has anyone else experienced this? I'm trying to troubleshoot and understand why this is occuring but are stuck.
<table id='grid'></table>
<table id='grid2'></table>
</div>
$(".ui-jqgrid-btable").each(function () {
(function(grid){
$(window).bind('resize', function () {
var width = ($(".grid-container").width() - 2);
grid.jqGrid('setGridWidth',width);
})
})( $(this) );
});
Most Users Ever Online: 715
Currently Online:
40 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66