Context menu in a customized tree table

Question on behalf of @itzhak-broad-chasm:

Im trying to make the context menu in widgets table work - ive added the context menu renderer but for some reason its not working.
Our Table is actually a Table wrapped in a TreeContainer, can it be the cause of the problem? (Its a customised tree table)

Widget Version: 34.5.0

Can you give us a minimal reproducible code to analyze?