Yes, I mean it. On the view page. Also on the list page I need to disable the add button. Since I am adding all the entries via master/add .
It's very good work on list page
function ListOptions_Rendered()
{
$this->ListOptions["details"]->Visible = FALSE; // if you enabled "Multiple detail tables"
}
it doesn't work on the view page.
function Page_Render()
{
$this->OtherOptions["action"]["detail"]->Visible = FALSE;
}
And I don't know how to disable the simple button for adding on the list page. I need only the button of master/add.