During normal view I'd like to show 10 fields
but during Master/Detail view, just show 3 fields of Master
Example:
/orderslist?showmaster=customers&fk_customer_id=1
I know can use $this->fieldname->Visible = FALSE; and put in pageload server event
But how to separate normal view and Master view? Is there a way to detect if normal view or master view?
If $isShowMaster then {
$this->fieldname4->Visible = FALSE;
$this->fieldname5->Visible = FALSE;
$this->fieldname6->Visible = FALSE;
$this->fieldname7->Visible = FALSE;
$this->fieldname8->Visible = FALSE;
$this->fieldname9->Visible = FALSE;
$this->fieldname10->Visible = FALSE;
}