viewEditMode in Forms

we have a details form which starts with the editable list form (setting element.args().formViewOption(FormViewOption::Grid); in the init method).

Switching to the details form should - depending on various reasons - show the form in edit mode. So i thougt setting the property “;” in the pageActivated-Event of the DetailsTab Page will switch to edit-mode, but it doesn’t.

Can anyone help?

Thanks in advance,

Hello all,
the solution is described here: