ANJ
ANJ

Reputation: 301

Flex tree expand arrow click

In flex tree component is there a way to track the small expand arrow click. The itemClick event of the tree view doesn't execute for the expand arrow click.

enter image description here

Upvotes: 0

Views: 131

Answers (3)

Đức Minh Phạm
Đức Minh Phạm

Reputation: 46

You can track event "itemClose" and "itemOpen" events. Good luck...

Upvotes: 1

Yordan Yanakiev
Yordan Yanakiev

Reputation: 2604

I am suggesting to use http://kachurovskiy.com/2010/spark-tree/ It's having much more control (including the feature you are seeking), and better performance.

Upvotes: 0

Jan
Jan

Reputation: 445

You should be able to solve this by creating a custom item renderer and disable the mouseEvents for the arrow icon (mouseChildren = false; mouseEnabled = false).

Upvotes: 1

Related Questions