Forum



18:12

14/02/2013

Hi, There is a problem when I use both plugins.
My jqgrid renders inside a splitter panel, but when I resize the panel My grid fits on the panel slowly. This is in Firefox.
I think the function setGridWidth is not performing in a good way.
This is my resize function:
var heightGrid=$("#lateralBottom").height();
$("#tblclientes").setGridHeight(heightGrid);
jQuery('.vsplitbar').mousedown(function() {
jQuery('.vsplitbar').mousemove(function() {
console.log("hola");
$("#tblclientes").setGridWidth($("#BottomPane").width());
});
});
This is the HTML:
<div id="MySplitter" class="splitter ui-widget ui-widget-content">
<div id="LeftPane" class="splitter-pane">
<div id="TopPane" class="splitter-pane">
<iframe frameborder="0" border="0" allowTransparency="true" name="casesInboxId" id="casesInboxId" src="casesInbox" style="width: 100%; height: 90%;" > </iframe>
</div>
<div id="BottomPane" class="splitter-pane">
<div id="container_grid">
<table id="tblclientes"></table>
<div id="paginacion"></div>
</div>
</div>
</div>
<div id="RightPane" class="splitter-pane splitter ui-widget ui-widget-content">
</div>
</div>
This is an example of the screen result:
<a href="http://www.freeimagehosting.net/iko3u"><img src="http://www.freeimagehosting.net/newuploads/iko3u.png"></a>
Most Users Ever Online: 715
Currently Online:
32 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