如何监听 ExtJs4 中文本字段代码中的用户编辑和更改?
我知道我可以向 change
事件添加一个侦听器,但只有当用户更改值时它才会触发。有没有办法为程序化更改设置类似的侦听器?
I know that I can add a listener to the change
event, but it will fire only when user changes the value. Is there a way to setup a similar listener for programmatic change as well?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用 setValue() 方法应该触发您的更改事件。
if you use setValue() method that should fire your change event.
您可以在程序更改后触发事件。
You can fire event after programmatic changes.