Master detail connection

QuestionsMaster detail connection
Paolo Ricci asked 4 years ago

Hi, I’m having problems in getting the data from the master to the detail grid. I followed all the examples but still non working. In the master grid I get the data from a sql-server query with a Group-by.

When I call the data by $id = $_GET[“ID”]; I Always get an empty field.

Any Idea where I can find the right solution ?

Thanks a lot.

 

Paolo

1 Answers
Abu Ghufran Staff answered 4 years ago

Hi,

If you are passing field “ID” (with caps) from master grid only then it should be available, like following.

$opt[“subgridparams”] = “ID”;

Otherwise, you can get master grid id by:

$id = $_GET[“rowid”];

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

16 + 17 =

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?