public Component createDetail() {
if (!hasDerivedAllocations()) {
return currentDetail = new Label();
}
Detail result = new Detail();
createDerivedAllocationsGrid();
result.appendChild(derivedAllocationsGrid);
reloadDerivedAllocationsData();
return currentDetail = result;
}