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.
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
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.
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
\
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.