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.

有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top