문제

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