How to show the Details in the Master List Page

I have a Master and details table.
Master table = Client
Details table = accounts

I have made the Master Details page and
Now on the Master List page on the right side a button “accounts” is showing
when I client this button, it shows the Master and Details on the different page.

I would like to show details in the same page of the Master List Page
Means just clicking the + sign the details of the records should show on the same Master List Page.

Bishu wrote:

Means just clicking the + sign the details of the records should show on the same Master List Page.

If you are a registered user, you have the Preview extension, enable it and choose “PreviewRow” for the master table.

Thanks for your help

I need further help on the same topic

  1. I want different list field for the table “accounts” in the Details and List Page.
    example : In the List Page I would like to show - field1, field2, field3, field4, field5
    But in the Details I would like to show only - field3, field5

  2. How can I use the ListOptions_Rendered in the Details
    $this->ListOptions->Items[“new”]->Body = “Try”;
    The extra field “new” is showing at the list page “accountslist.php”
    But it is not showing at the Details.
    how can I show this extra field “new” in the Details.

  1. In the latter case you can use Page_Load server event to set Visible property of the detail table fields.
  2. You need to add your event to the detail table (not master table) List page.

arbei wrote:

  1. In the latter case you can use Page_Load server event to set Visible
    property of the detail table fields.

When I write the code in the List_Page->Page_Load (Details Table)
$this->lname->Visible = FALSE;
It hide only from the detailslist page
but it does not hide in the Extension → Details Preview

\

  1. You need to add your event to the detail table (not master table) List page.
    Yes I have put the code in the Details Table and it show only on the Details List Page.
    But It does not show in the Extension → Details Preview.

You need to put server event for the Preview Page. (Assume v2020)