我想在Gridview筛选器的标题单元格中进行多项选择 [英] I want multiple selection in header cell of Gridview Filter

查看:87
本文介绍了我想在Gridview筛选器的标题单元格中进行多项选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设计了带有自动过滤器的gridview..但是我希望它允许用户选择多个过滤器,例如excel2010.但是我无法做到这一点.请帮助我..

I have designed a gridview with auto filter.. but i want it to allow user to select multiple filters like excel 2010.. But i cant able do that.. Is it possible?? please help me..

推荐答案


看看这篇文章:
http://social.msdn.microsoft.com/Forums/zh_cn/winformsdatacontrols/thread/5f7e868c-8f7d-4168-b203-3724fbc3acdb [

take a look at this post:
http://social.msdn.microsoft.com/Forums/en/winformsdatacontrols/thread/5f7e868c-8f7d-4168-b203-3724fbc3acdb[^]

Cheers


是的,可能的.在这里,您可以:具有过滤功能的Datagridview [
Yes, possible. Here you go: Datagridview with filtering capability[^]


1.Add项目中对FilteredGridViewControl.dll的引用,并将其添加到工具栏.
2.与使用任何其他控件一样,将FilteredGridView从工具栏拖到窗口窗体.


我已经为gridview完成了前两个步骤.但我不知道如何设置编译属性?这个解决方案是针对指定列的另一个问题.但是,如果我想要所有带有选择过滤器的数据gridview的所有列?

最好的问候,
Rikin
1.Add a reference to the FilteredGridViewControl.dll in your project and also add it to your toolbar.
2. Drag the FilteredGridView from your toolbar to the window form as you do with any other control.


i have done first two steps for gridview. but i dont know how to set compile property? and one more question this solution is for specified columns. but if i want all the columns of data gridview with multiple selection filter???

Best regards,
Rikin


这篇关于我想在Gridview筛选器的标题单元格中进行多项选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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