:: Forum >>

Events for tree widget

Hi,

Could you tell me how to find out what events are available on the tree widget.

I can't find it in the documentation and the example doesn't have any that I can see.

Cheers
Daniel
Tuesday, February 28, 2006
The tree control has one specific event - onTreeSignClicked(event, index)
All the rest are standard onSomePropertyChanging / onSomePropertyChanged.

onTreeSignClicked handler changes ViewExpanded property (true/false) and
onViewExpandedChanged handler simply refreshes corresponding view (set of child nodes).
Alex (ActiveWidgets)
Tuesday, February 28, 2006
Thanks a lot for that, makes perfect sense.

Cheers
Daniel
Tuesday, February 28, 2006
i'm presuming that the nodes of the tree have an onclick or onselect event.

How can i code a responce against this event?
Tim Edwards
Tuesday, January 2, 2007
obj.onItemClicked = function(event, index){

// you code
// index is ordinal number of the tree leaf selected

alert("you clicked on the " + index " leaf")
}
john sig
Saturday, January 13, 2007
That code isn't working for me, the alert isn't popping up. Any ideas?
</i>Ed
Wednesday, September 12, 2007
onItemClicked should work with the standard tree -

tree.onItemClicked = function(event, i){
alert(i);
}


If you are using treeItem with checkbox - apply this fix

http://www.activewidgets.com/javascript.forum.20625.0/fix-missing-click-event-in.html

Alex (ActiveWidgets)
Thursday, September 13, 2007

This topic is archived.


Back to support forum

Forum search