docs: public void registerDetails(final AbstractGrid<?>.DetailsSupport details) {
          grid.addSelectionListener(event -> {
              final Long masterId = (Long) event.getSelected().stream().findFirst().orElse(null);
              details.populateMasterDataAndRecalculateContainer(masterId);
          });
      }