Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据最新的Ext JS 文档,我必须queryMode: 'local'在ComboBox配置中设置以防止它自动加载它Store(我想在选择 another 中的值后手动加载这个 Store 的内容,ComboBox并对记录进行一些过滤)。 我们仍在使用 Ext JS 2.2 版的问题,我在docs中没有找到这个选项。所以,问题是:如何ComboBox在旧的 Ext JS 中实现相同的行为?
queryMode: 'local'
ComboBox
Store
好的,我找到了解决方案。配置选项已经存在,Ext 4 和 Ext 2 的唯一区别是该选项的名称不是queryMode,而是mode。我必须更加周到。
queryMode
mode