When using a row template, the entire row content is replaced with your custom content. In this case, you need to implement a focused/selected row manually.
Please refer to the following tickets where we discussed a similar inquiry for additional information:
DataGrid does not display focused row after paging when rowTemplate is used
dxDataGrid - Selection Checkbox support with rowTemplate