[eluser]maria clara[/eluser]
[quote author="bkaxrf" date="1262942164"]
Code:
jQuery("#detFlex1").jqGrid('setGridParam',{url:"root + mod + '/detaillistview'"+ids,page:1});
I think maybe this should be
Code:
jQuery("#detFlex1").jqGrid('setGridParam',{url: root + mod + '/detaillistview'+ids,page:1});
Also looks like there might be other problems, but try fixing those url params and see what happens[/quote]
i did what you have advised but it shows this error in my console:
Code:
<div id="content">
<h1>404 Page Not Found</h1>
<p>The page you requested was not found.</p>
</div>
in the CONTROLLER:
Code:
onSelectRow: function(ids) {
if(ids == null) {
ids=0;
if(jQuery("#detFlex1").jqGrid('getGridParam','records') >0 )
{
jQuery("#detFlex1").jqGrid('setGridParam',{url:root + mod + '/detaillistview'+ids,page:1});
jQuery("#detFlex1").jqGrid('setCaption',"System User Detail: "+ids)
.trigger('reloadGrid');
}
} else {
jQuery("#detFlex1").jqGrid('setGridParam',{url:root + mod + '/detaillistview'+ids,page:1});
jQuery("#detFlex1").jqGrid('setCaption',"System User Detail: "+ids)
.trigger('reloadGrid');
}
}
THANKS,
maria