Thank you for your answer. After long hours, I've find that I can modified the 'editurl' so I put the master row id in…
It's working.
See you !!!! 🙂
Hi Tony
Thank you for the quick reply, here's my html & js
Hi,
Thanks for the help.
I'm trying to set it in the before show form of the edit action.
When the user selects a row of the grid to edt, I want to set either the caption or the top info to the value of a col in the selected row.
Thanks but that didn't work either.
Problem with caption was solved. We had background image on the page and allign property of image was problem.
I found the problem. My XML was missing one column. Odd that it didn’t report some type of error.
Hi Mike,
Thanks for your help, I actually tried this already and all my values were blank (not undefined), must have been doing something wrong.

I have the same problem. I'm using jqGrid 3.5.2 and jquery-ui 1.7.2. I'm a newbie so maybe it is obvious but I've looked around and can't figure it out.
Here is my code,
Hello,
You can find your answer here :
http://trirand.com/jqgrid/jqgrid.html
In “Advanced->Master Detail”
See you
Hi peter,
here is the solution we used.
Please ignore. Once I put in loadComplete, everything worked magically.
Thx m8, that was very helpful.
Dear Tony,
What is your suggestion to fix this?
Best regards,
Rayson
I'm getting this same problem as well (any search field after the first one has a value of undefined), I'm using 3.5.2 from the downloads page, and to be safe I just selected all the modules. Everything works great except for the search. Code is below:
<!
DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<
html xmlns=”http://www.w3.org/1999/xhtml”>
<
head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<
<link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/ui.jqgrid.css” />
<script src=”/Scripts/jquery-1.3.2.min.js” type=”text/javascript”></script>
<script src=”/Scripts/jquery-ui-1.7.2.custom.min.js” type=”text/javascript”></script>
<script src=”/Scripts/grid.locale-en.js” type=”text/javascript”></script>
<script src=”/Scripts/jquery.jqGrid.min.js” type=”text/javascript”></script>
link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/jquery-ui-1.7.2.custom.css” />
<link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/ui.jqgrid.css” />
<script src=”/Scripts/jquery-1.3.2.min.js” type=”text/javascript”></script>
<script src=”/Scripts/jquery-ui-1.7.2.custom.min.js” type=”text/javascript”></script>
<script src=”/Scripts/grid.locale-en.js” type=”text/javascript”></script>
<script src=”/Scripts/jquery.jqGrid.min.js” type=”text/javascript”></script>
link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/jquery-ui-1.7.2.custom.css” />
link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/jquery-ui-1.7.2.custom.css” />
<link rel=”stylesheet” type=”text/css” media=”screen” href=”/Content/Style/ui.jqgrid.css” />
<script src=”/Scripts/jquery-1.3.2.min.js” type=”text/javascript”></script>
<script src=”/Scripts/jquery-ui-1.7.2.custom.min.js” type=”text/javascript”></script>
<script src=”/Scripts/grid.locale-en.js” type=”text/javascript”></script>
<script src=”/Scripts/jquery.jqGrid.min.js” type=”text/javascript”></script>
<script type=”text/javascript”>
$(
function() {
$(
“#tabs”).tabs();
});
$(document).ready(
function(){
$(
“#gridInventory”).jqGrid({
datatype:
“json”,
colNames:[
'Id', 'Trans #', 'Part #', 'Address', 'Make', 'Serial #', 'Status'],
colModel:[
{name:'Id',index:'Id', width:55, hidden: true, search: false },
{name:'Id',index:'Id', width:90, searchoptions:{sopt:['eq']}},
{name:'PartNumber',index:'PartNumber', width:90, searchoptions:{sopt:['eq']}},
{name:'LocationAddress',index:'LocationAddress', width:300, searchoptions:{sopt:['eq']}},
{name:'Make',index:'Make', width:90, searchoptions:{sopt:['eq']}},
{name:'Serial',index:'Serial', width:100, searchoptions:{sopt:['eq']}},
{name:'Status',index:'Status', width:100, searchoptions:{sopt:['eq']}}
],
recreateFilter : false,
rowNum:25,
rowList:[25,50,100,500],
mtype: “GET”,
postdata:
“”,
pager: $(
'#gridPager'),
sortname: 'Id',
viewrecords:
true,
sortorder: “desc”,
caption:“Transformer Search Results”,
toolbar: [true,“top”],
hidegrid: false,
height:'auto',
forceFit : true,
gridview: true});
$(“#gridInventory”).navGrid('#gridPager',{edit:false,add:false,del:false},
{}, // edit options
{}, // add options
{}, // delete options
{multipleSearch:true});
$(“#t_gridInventory”).append(“”);
$(“input”,“#t_gridInventory”).click(function(){alert(“test”);
});
});
</script>
<h1>Transformer Search</h1>
<div id=”tabs”>
<ul>
<li><a href=”#tabs-1″>Search</a></li>
<li><a href=”#tabs-2″>Options</a></li>
</ul>
<div id=”tabs-1″>
<table id=”gridInventory”></table>
<div id=”gridPager”></div>
</div>
<div id=”tabs-2″>
<p>Options to go here</p>
</div>
</
div>
<
br style=”clear:both;” /><br />
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top