Subgrid query data not showing up

QuestionsSubgrid query data not showing up
Alberto asked 4 years ago

Hi Abu,

 

Hope you are keeping well.

 

I’m implementing the subgrid – master grid feature.

I’m having a bit of an issue; the subgrid is not showing the records.

I’m triggering the subgrid in a button. It seems that the results of the query of the select command for the subgrid does not carry the results into the grid.

I’ve sent you an email with details and resources.

 

It would be great if you could have a quick look at it.

 

Thank you and kind regards,

Alberto.

 

 

1 Answers
Abu Ghufran Staff answered 4 years ago

I tried to regenerate the grid with running db scripts but still it still needs join tables data.
I’d suggest to follow the query debugging steps.

1) open the grid showing button to open subgrid
2) goto code and before ‘$m->table = “btsRequest”;’ put phpgrid_error($m->select_command);
3) goto browser, open debug console > network tab (f12) and click on button to open subgrid, It will show the select_command in error box

Try running that query in sql editor and see if it works.
We can also have a remote session via google meet or remotedesktop.

PS: Use forum for a question unless you are sharing some confidential code / details.

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

17 + 5 =

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?