docs: protected void showDetail(Listitem li) {
          @SuppressWarnings("unchecked")
          T value = li == null ? null : (T) li.getValue();
          String detail = value == null ? null : getDetail(value);
          detailView.setValue(detail);
  
          if (!getShowDetailPane() && detail != null) {
              ReportBox.modal(detail, detailTitle, getAllowPrint());
          }
      }