Page_DataRendering in Detail List View (master/detail)

Hi all.

PHPMaker 2020.1.15 here.

What I’m trying to do is to hide a field in a List View, for a table defined as detail in a master/detail scenario.

Table1 (master)
Table2 (detail)

The Help file suggests to use Page_DataRendering event.

I tried to do that in Server Events - List Page - Page_DataRendering event for Table2,
but apparently that event is not triggered while in master/detail logic.

While in normal List view, the event is triggered fine and the field is hidden.

I am doing something wrong for sure.

Could someone help/give any advice, please?
regards
jta

jtandrea wrote:

but apparently that event is not triggered while in master/detail logic.

Did you mean in Preview area when you expand the little plus icon at the left of master record? If so, then you may simply put your code in “Page_DataRendering” server event under the “Preview Page” instead of the List Page, and then try again.

hi, that was exactly the case.
Thanks for the explanation, it worked perfectly.

regards,
jta