Hey,
> You're right of course!
>
> I didn't think of using bindItem, but it's indeed the way to do this.
> Took me a little time to realize that I also needed to call
> bindDefaultProperties (turned out to be a case of RTFM ;) ), but it
> works like a charm now:
>
> {
> bindItem : function(
Hi Martin,
You're right of course!
I didn't think of using bindItem, but it's indeed the way to do this.
Took me a little time to realize that I also needed to call
bindDefaultProperties (turned out to be a case of RTFM ;) ), but it
works like a charm now:
{
bindItem : function(controller,
Hey,
> I think this one is for Martin, as author of the Tree controller.
Exactly. :)
> I'm using a Tree controller to populate a Tree. I need to attach a
> context menu to some tree nodes, based on a property in the model of
> that tree node.
>
> I'm trying to do this by using a configureItem
Hi,
I think this one is for Martin, as author of the Tree controller.
I'm using a Tree controller to populate a Tree. I need to attach a
context menu to some tree nodes, based on a property in the model of
that tree node.
I'm trying to do this by using a configureItem delegate:
{
configur