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_TopicIcon
Search panel for subgrid in IE6/IE7
07/12/2009
13:58
Avatar
Wega
Guest
Guests

%subj% displayed incorrectly - it is strongly stretched horizontally (including a button "+" and "-").

08/12/2009
17:20
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

09/12/2009
10:18
Avatar
Wega
Guest
Guests

[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):

Image Enlarger

IE6 (bad):

 [Image Can Not Be Found]

11/12/2009
00:46
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

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.com

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information