Please document an example of editor as a function.
A simple example could be a password field: https://dojo.telerik.com/@GaloisGirl/ARIGOmUj
Thank you for submitting this request. Such an example would indeed be appropriate for the documentation, thus I have added an update to the Items section regarding the usage of a custom editor:
You can also observe a simple example on the following Dojo example.