Forum
21:11
08/12/2009
Hi, there seems to be an issue with shrinkToFit or when horizontal scroll bar appears.
I'm having an issue the the grid when trying to use shrinkToFit to contains a large number of columns within the view. This issue is only occurring in IE (Firefox works fine).
Scenario: With subgrid to be displayed when clicking on the expanding + icon, wait until subgrid loads, move mouse, the subgrid will disappear. Click on the row once or twice to highlight the row, the subgrid will appear again, hover order the parent row again, it disappears.
Is this something I'm not doing correctly? The code looks like below (I trimed the columns down to make it simply but basically I have arnd 20 columns that needs horizontal scroll bar).
$("#tb").jqGrid({
caption:"",
url:"\\data.aspx",
mtype:"POST",
datatype:"json",
postData:getPostData(),
height:"100%",
shrinkToFit:false,
colNames:['C1'],
colModel:[
{name:'C1',index:'C1',hidden:true}
],
pager:$('#nav'),
pgbuttons:false,
pgtext:false,
pginput:false,
viewrecords:true,
sortname:'C1',
sortorder:"asc",
subGrid:true,
subGridRowExpanded:function(subgrid_id, row_id) {
var row=$('#tb').getRowData(row_id);
var subgrid_table_id=subgrid_id+"_t";
$("#"+subgrid_table_id).jqGrid({
url:"data2.aspx",
postData:{ row:row.id },
mtype: "POST",
datatype: "json",
colNames: ['S1'],
colModel: [{name:"S1",index:"S1",width:60}]
width:600,
height: '100%'
}).navGrid();
}
});
21:17
Moderators
30/10/2007
Hello,
Thanks for this. We know about this.
The problem is fixed. I will publish next bug fix after day or two, or you can grab the source from GitHub
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
34 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66