如何在datagridview中添加自动完成复选框 [英] How to add autocomplete checkbox in datagridview
本文介绍了如何在datagridview中添加自动完成复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有datagridview,在那里,我想使用自动完成复选框。
当我输入一行Datagridview我想要带复选框的建议,我可以选择多个来自的项目数据库
怎么做?
我尝试过:
i仅尝试使用自动完成文本框
I have datagridview, in that, i want to use autocomplete checkbox.
when i am typing in a row of Datagridview i want suggestions with checkboxes, that i can select multiple items which is come from database
how to do this?
What I have tried:
i tried only with the autocomplete textbox
推荐答案
AFAIK,没有这样的控制:这是一个不寻常的要求。
这并不意味着它无法完成,它可以 - 但这意味着你必须自己创建控件。
这不会是一个微不足道的任务,但这可能会有所帮助:如何:Windows窗体DataGridView单元格中的主机控件 [ ^ ]
AFAIK, there is no such control: it's an unusual requirement.
That doesn't mean it can't be done, it can - but it means you will have to create the control yourself.
It's not going to be a trivial task, but this may help: How to: Host Controls in Windows Forms DataGridView Cells[^]
这篇关于如何在datagridview中添加自动完成复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文