Using Master-Detail when creating a new row

Using a Master-Detail layout I want to use the details form for the creation of a new row and I want the grid to have no selection when I enter new data and save them.

The problem is, that when I press the “Clear to Create” button and call something like this:

artistList.getArtistGrid().deselectAll();

the details view is closed.

The examples in the documentation only covers viewing, not updating, as far as I can see.

Thanks in advance