vitmalina/w2ui — pull request #741 by erazor83 (2014-12-01 12:04:56+00:00)
Title: allow a render function via render attribute for each node

Hi Vitali,

instead of .html i changed this to .render for EACH node.

Function argument is the node object so a render-function would look like this:

...
render: function(node) {
return 'Default';
}
...

Return value also goes into .text property of the node. Another point is, that for the root-nodes, there will be no span.../span (I needed this to probably display input fields in a root-node).