Hi, is there any way to update the caption of child grid when using tab-master-detail based on selected record of master's grid?
For example when a user changes the selected record on master grid the property "caption" of detail grid must change -> $grid_detail_jott["caption"] = "ID:"."-".intval($_GET["IDNumb"]);
3 Answers
$opt["onSelectRow"] = "function(id){ $('#list2').jqGrid('setCaption','Details for ID: '+id); }";
$grid->set_options($opt);
where list2 is detail grid id.
Your Answer