onCellSelect

QuestionsonCellSelect
abdelilah dourhmani asked 1 week 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){

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
Abu Ghufran Staff answered 16 hours 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

0 + 14 =

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?