No custom widget is needed, as I have discovered that version 2.3 of WAB (Developer Edition and ArcGIS Online) now shows related records (including multiple levels) in the pop-up - and without requiring use of the Atttribute Table widget.
The new related tables in the pop-up is just what I was looking for!