如何在列表视图中选中一个复选框并禁用另一个复选框? [英] How to one checkbox selected and another checkbox disabled in list view inside ?

查看:66
本文介绍了如何在列表视图中选中一个复选框并禁用另一个复选框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

列表视图里面的复选框是选中的另一个复选框已禁用,未选中复选框和所有复选框已启用



我尝试过:



列表视图里面的复选框是选中的另一个复选框已禁用,未选中复选框和所有复选框已启用

解决方案

尽管你无法用英语清楚地沟通,我还是会捅这个。



您需要将复选单击事件发送到列表,并确定复选框是否已选中或取消选中,并采取相应的操作。



现在我记得为什么我四年前在这里停止回答问题了...

list view inside checkbox is one selected for another checkbox disabled, and unchecked checkbox and all checkbox is enabled

What I have tried:

list view inside checkbox is one selected for another checkbox disabled, and unchecked checkbox and all checkbox is enabled

解决方案

I'm gonna take a stab at this, despite your inability to communicate clearly in English.

You need to hand the click event for the checkboxes in the list, and determine if the checkbox is checked or unchecked, and take the appropriate action.

Now I remember why I stopped answering questions here four years ago...


这篇关于如何在列表视图中选中一个复选框并禁用另一个复选框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆