I use a master detail grid and i wanna send cell value to the sql_str of detail grid
$grid[“onSelectCell”] = “function(rowid, celname, value, iRow, iCol){
jQuery(‘#list1’).setSelection(value,true);
}”;
$id=0;
if (!empty($_GET[“value”]))
{
$id = $_GET[“value”];
}
$grid->select_command = “SELECT * FROM preventive_detail WHERE day = $id”;
1 Answers
Closing as duplicate of https://www.gridphp.com/support/questions/get-value-of-cell-on-detail-grid/
Your Answer