Sample here: http://webix.com/snippet/b60dc8e3 - I believe this is a bug though I can’t point you to where it is (the template key ends up being unset on the list config which is why it displays undefined). Haven’t tried with the latest build yet.
In order to use the context menu you need to have an empty onContext dictionary, hence the use of <config>