Ext.form.field.ComboBox 切换store没有反应

本文介绍了一种绑定数据存储的方法,该方法允许实例与特定的数据存储进行绑定。通过传递Ext.data.AbstractStore实例或其ID,可以实现对现有数据监听器的保留或移除。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

遇到这种情况建议使用下面这个方法,可以有效避免上面的问题




[Ext.data.AbstractStore/String store], [Boolean initial] )

Binds a store to this instance.

Parameters

  • store : Ext.data.AbstractStore/String (optional)

    The store to bind or ID of the store. When no store given (or when null or undefined passed), unbinds the existing store.

  • initial : Boolean (optional)

    True to not remove listeners from existing store.

    Defaults to: false


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值