Disable switching to grid and limit added record to one

Is there possibility to disable switch to grid, e.g. open detail screen section in master/detail scenario with detail section on form view and limit adding record to only one ?

Yes, I am using the detail Id as unique index, this is functional but not user friendly solution.

The only way how to disable detail/table view is to hide the navigation strip. But then you also loose the buttons to add/delete records. It would be better if you add the 1 row to the detail at the time when you are adding the master row, so it would always get displayed, e.g. using a workflow.

Can you describe your scenario in more details?