Good day,
either of the two are working fine
$this->ListOptions["view"]->Visible = false;
at ListOptions_Load
or this
$this->ListOptions->Items["edit"]->Body = "";
at ListOptions_Rendered
but when i add condition like this
if ($this->action->CurrentValue == "New") {
$this->ListOptions->Items["edit"]->Body = "";
}
it shows and error "Attempt to read property "CurrentValue" on null"