Question

I have JSON same {id: 1 , name:A , Chidlren:[{id:2, parentID: 1, name: C}]}, how to load in combobox same tree using Sencha Architect.

Was it helpful?

Solution

If I understand you correctly you want a treepanel inside a combobox?

If so, you can use this ux: http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.ux.TreePicker

In SA you have to

  • set the userAlias (xtype) to treepicker.
  • copy the source code from TreePicker to ext/ux/TreePicker.js
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top