Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha Premium Member
ViewController - action - Target Type
Hi,
i don't find 'Ext.list.Tree' to ViewController - action - Target Type.
-
Ext Support Team
Hey,
Not pretty clear on this. Can you elaborate?
-
Sencha Premium Member
I created a ActionSheet and added two 'Ext.list.tree'.
into ViewController I want add Action for TreeList, but i don't find it.
Schermata 2017-12-12 alle 11.25.59.png
At this time I create two event for TreeList (IMAGE 1)
But i want create Action on ViewController.
Schermata 2017-12-12 alle 11.26.23.png
-
Sencha Premium User

Originally Posted by
Zeusss82
Create a function in your ViewController ---
as an example -
Code:
// viewcontroller selection change function
onSelecionChange: function(tree, node){
/// selection change logic
}
then on your treelist add a listener to use it
Code:
// add listener in treelist component to fire the selection change function you created above.
listeners: {
selectionchange: 'onSelectionChange'
}
This is what creating an ViewController action in architect does for you, sometimes you have to just do it manually.
Anyway, this should solve your problem.