Select the detail view based on data type.