Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
resize all grids on window resize - IE7 issue
28/08/2012
17:48
Avatar
geppley
New Member
Members
Forum Posts: 1
Member Since:
28/08/2012
sp_UserOfflineSmall Offline

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.

 

  <div class='grid-container'>
    <table id='grid'></table>
    <table id='grid2'></table>
  </div>

//resize all grids on a page window is resized
$(".ui-jqgrid-btable").each(function () {     
 (function(grid){     
    $(window).bind('resize', function () {
        var width = ($(".grid-container").width() - 2);
        grid.jqGrid('setGridWidth',width);
    })
  })(  $(this) );
});
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
42 Guest(s)

Currently Browsing this Page:
1 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information