is there off-the-shelf convenient way to filter by a group column in XtraGrid GridView?

懵懂的女人 提交于 2019-12-11 17:09:36

问题


I know I can invoke filter editor and so on. But this is not a convenient thing, especially for non technical users. Can GridView continually display a nice filter field for a group column as it does for normal columns?

I know I can roll my own via filtering on a hidden column and so on, but that's a lot of work. Maybe there is a built-in way to do this instead?


回答1:


Set the GridView.OptionsView.ShowGroupedColumns property to true, the group column will be also shown in the column header panel among other columns and thus the end-user will be able to filter by its values.



来源:https://stackoverflow.com/questions/5600160/is-there-off-the-shelf-convenient-way-to-filter-by-a-group-column-in-xtragrid-gr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!