hide master table rows when listing in detail table

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
inside83
User
Posts: 62

hide master table rows when listing in detail table

Post by inside83 »

Hello!

This is probably very easy and it has probably been discussed before but can't seem to find it - sorry.

My master table has 10+ columns and when I'm viewing the data on the detail table, all those columns show as rows above the detail table list.
Is it possible to trim it down somehow od hide some of the rows of the master table?

I know that it can be done by unselecting those columns in List row of the master table setup but then those columns won't show in master table list.


mobhar
User
Posts: 11660

Post by mobhar »

You may simply use "Custome Templates" to customize that master section. Just put your custom code in "Custom Templates" -> "Table-Specific" -> "Master Record Page" -> "CustomTemplate".

Please read "Custom Templates" topic from PHPMaker Help menu for more info and examples.


inside83
User
Posts: 62

Post by inside83 »

Hmm thank you
Just a follow up: is it possible not to show the master table completely?


mobhar
User
Posts: 11660

Post by mobhar »

Yes, it is.


inside83
User
Posts: 62

Post by inside83 »

lol
Can you please explain how?


mobhar
User
Posts: 11660

Post by mobhar »

Always try it by yourself first, and post your code for discussion.


Post Reply