Master Deails : reload details structure onclick to master

QuestionsMaster Deails : reload details structure onclick to master
abdelilah dourhmani asked 3 months ago

Hi there,

I have a list of tables in Master, each with a different table structure. However, my details always seem to be displaying the structure of the first table.

Is there any solution to reload the Details structure when I click on it?

Thank you.

example:

Master:

table1

table2

table3

Details:

table1.col1   table1.col2

when i click to table2 the details didn’t change

5 Answers
Abu Ghufran Staff answered 2 months ago

Please share code and screenshot for review.

I’m unable to understand the issue.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
abdelilah answered 2 months ago

Master Details grid
code part:
master code

master code
detail code

Abu Ghufran Staff answered 2 months ago

I’ve prepared a demo for you to show how to load detail grid via ajax call.

https://gist.github.com/gridphp/c85ee8db525ae46de40b118718fca241

Line 38: Load detail grid via ajax call and passing master grid selected row data

Line 87: Div that holds detail grid

Screenshot:

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
abdelilah answered 2 months ago

Thank you that’s work 🙂

c3media answered 2 months ago

Hello Abu,

Is it possible to integrate this to WordPress, may you to share a demo?

Your Answer

17 + 4 =

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?