boolean isEditable = (detailsView instanceof DetailsView && ((DetailsView) detailsView).isEditable());
if (!isEditable) {
// Only add the "Back to List" button if the details are definitely not editable, because if they are
// editable, a Cancel button should already be provided by the details view.
BackButton backButton = new BackButton(MSG.view_tableSection_backButton(), basePath);
HLayout hlayout = new EnhancedHLayout();
hlayout.addMember(backButton);
if (header != null) {
header.setWidth100();
header.setAlign(com.smartgwt.client.types.Alignment.CENTER);