问题描述
我知道我可以调用过滤器编辑器等等。但这并不方便,特别是非技术用户。 GridView可以持续显示组列的一个不错的过滤字段,就像常规列一样?我知道我可以通过对隐藏列进行过滤来滚动自己的,但这是很多工作。也许内置的方法可以这样做?
将GridView.OptionsView.ShowGroupedColumns属性设置为true,组列也将显示在其他列中的列标题面板中,因此最终用户将能够按其值进行过滤。
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?
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.
这篇关于是否有现成的方便的方式通过XtraGrid GridView中的一个组列进行过滤?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!