v
Hi Patrik,
Greetings from Syncfusion support.
We prepared a sample with your provided code block and based on your query we are able to see the detail view as we given in the detail template.
Refer the below screen shot.
While using template the grid will render the provided content as it is. The grid does not set any styles inside template as it can have any type of element inside it. You can provide the styles for the elements rendered inside the template as per your requirement in your application.
If we misunderstood your query please get back to us with the details so that we can help you further.
Regards,
Thavasianand S.