Hi,
Can we place a master-detail inside a subgrid?
I tried to code from multi-subgrid_detail.php and changed the tables into master-detail, but I failed to get the param(rowid) from master table. When I traced, the parameter is from the table from multi-subgrid.php page.
How can I get the master table rowid in subgrid detail page?
1 Answers
Hi,
You can send data with other names beside rowid. For example to send field names from master -> detail you can set in master grid:
$opt[“subgridparams”] = “client_id,company”;
$grid->set_options($opt);
And read in detail grid as:
$client_id=$_GET[“client_id”];
$comp = $_GET[“company”];
Your Answer