在EXT JS中使用JSON根据在另一个DropDown中选择的值填充一个DropDown/Select

Populate a DropDown/Select based on the value chosen on another DropDown using JSON in EXT JS

本文关键字:DropDown 填充 Select 一个 JSON 选择 EXT 另一个 JS      更新时间:2023-09-26

我有2个下拉菜单,在一个下拉菜单中选择值应该使用JSON进行ajax调用并在另一个下拉菜单中填充值。这需要在EXT JS中完成。谁能发布代码或提供方法?谢谢praveen

Ext.data.HttpProxyExt.data.JsonReader结合使用。写得很好的例子:http://www.sk-typo3.de/ExtJS-Dynamische-Comboboxen.337.0.html