abdelilah dourhmani asked 2 years ago

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){



if (!empty($_GET[“value”]))
$id = $_GET[“value”];

$grid->select_command = “SELECT * FROM preventive_detail WHERE day = $id”;

1 Answers
Abu Ghufran Staff answered 2 years ago

Closing as duplicate of https://www.gridphp.com/support/questions/get-value-of-cell-on-detail-grid/

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Your Answer

14 + 18 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?