Forum
17:20
Moderators
30/10/2007
Hello,
Thanks for posting this issue.
Could you please send a link to the problem, or post the whole code, including other libraries used.
Thanks
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.
10:18
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="media/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="media/js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="media/js/i18n/grid.locale-en.js"></script>
<script type="text/javascript" src="media/js/i18n/ui.datepicker-ru.js"></script>
<script type="text/javascript" src="media/js/jquery.jqGrid.min.js"></script>
<script type="text/javascript" src="media/js/jquery.tablednd.js"></script>
<script type="text/javascript" src="media/js/jquery.contextmenu.js"></script>
<script type="text/javascript" src="media/js/ui.multiselect.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="media/css/ui.jqgrid.css">
<link rel="stylesheet" type="text/css" href="media/css/sunny/jquery-ui-1.7.2.custom.css">
<link rel="stylesheet" type="text/css" href="media/css/ui.multiselect.css">
<script type="text/javascript">
$(document).ready(function() {
$("#test").jqGrid({
datatype: "local",
colModel:[
{name:'id', width:50, sorttype:"int"},
{name:'text', width:500},
],
height: 400,
width: 800,
pager:$('#testPager'),
subGrid:true,
subGridRowExpanded: function(subgrid_id, row_id) {
var subgrid_table_id, pager_id;
subgrid_table_id = subgrid_id+"_t";
pager_id = "p_"+subgrid_table_id;
$("#"+subgrid_id).html("<table id='"+subgrid_table_id+"'></table><div id='"+pager_id+"'></div>");
$("#"+subgrid_table_id).jqGrid({
datatype: "local",
colModel:[
{name:'field1', width:200},
{name:'field2', width:200},
],
height: 100,
width: 700,
pager:$('#'+pager_id)
});
$("#"+subgrid_table_id).navGrid("#"+pager_id,
{edit:false, add:false, del:false, search:true},
{}, // edit options
{}, // add options
{}, // del options
{multipleSearch:true} // search options
);
var testData2 = [
{id:"111", text:"Test #1"},
{id:"222", text:"Test #2"},
{id:"333", text:"Test #3"}
];
for(var i=0;i<=testData2.length;i++)
$("#"+subgrid_table_id).jqGrid('addRowData',i+1,testData2[i]);
}
});
$("#test").navGrid('#testPager',
{edit:false, add:false, del:false, search:true},
{}, // edit options
{}, // add options
{}, // del options
{multipleSearch:true} // search options
);
var testData = [
{id:"1", text:"Test line #1"},
{id:"2", text:"Test line #2"},
{id:"3", text:"Test line #3"}
];
for(var i=0;i<=testData.length;i++)
$("#test").jqGrid('addRowData',i+1,testData[i]);
});
</script>
</head>
<body>
<table id="test"></table>
<div id="testPager"></div>
</body>
[/code]
IE8 (ok):
IE6 (bad):
[Image Can Not Be Found]
00:46
Moderators
30/10/2007
Hello,
Thanks. I will definitley check this and will let you know if this is a bug.
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:
79 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