View Full Version : check-tree in SA 4.1

14 Jan 2017, 2:07 AM
How can I add check-tree to my view using Sencha Architect 4.1 (ExtJS 6.2.x).
I dont find any component from the toolbox with xtype:'check-tree'.

16 Jan 2017, 10:04 AM
That xtype specifies the xtype of that new class which is written. There is no framework class check-tree.

As you can see from the extend config it is basic tree Panel.

See the comment at the beginning of that file:

* This example shows simple checkbox selection in a tree. It is enabled on leaf nodes by
* simply setting `checked: true/false` at the node level.

Check the Data tab, you will see that there is checked. So if you want to have checklist on your tree just add this to your json.