Hello,
I have a master grid who display data in an other grid (fileupload_grid) with onselectRow :
onSelectRow: function(ids) {
if(ids == null) {
ids=0;
if(jQuery(“#fileupload_grid”).jqGrid('getGridParam','records') >0 )
{
jQuery(“#fileupload_grid”).jqGrid('setGridParam',{url:”fileupload_grid.php?q=2&id=”+ids,page:1});
jQuery(“#fileupload_grid”).jqGrid('setCaption',”Fiche Projet ID: “+ids)
.trigger('reloadGrid');
}
} else {
jQuery(“#fileupload_grid”).jqGrid('setGridParam',{url:”fileupload_grid.php?q=2&id=”+ids,page:1});
jQuery(“#fileupload_grid”).jqGrid('setCaption',”Fiche Projet ID: “+ids)
.trigger('reloadGrid');
}
},
I created an other grid datesup_grid
is it possible to add an other grid like datesup_grid in the same function and in the same master
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top