获取选中的复选框值
我有一个带有复选框的煎茶网格。 我需要获取选定的复选框值。 您能否建议我如何做或向我发送一段代码以在我选择复选框时获取值。
I have a sencha grid with checkbox.
I need to get a selected checkbox values.
Could you please suggest me on how to do or send me a piece of code to get the values when i select a checkbox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果选中或未选中,此调用将返回 true 或 false,您必须将复选框 id 放在引号中:
如果您想在选中时执行某些操作,则必须在复选框配置中添加侦听器:
Don如果这对您有用,请不要忘记“接受”答案(勾选左侧的标记)
This call will return true or false if it is checked or not, you would have to put your checkbox id in the quotes:
If you want to do something the moment it gets checked you would have to add a listener in the checkbox config:
Don't forget to "accept" the answer if this works out for you (check mark at the left)