首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法访问WPF infragistics未绑定列筛选器

无法访问WPF infragistics未绑定列筛选器
EN

Stack Overflow用户
提问于 2013-07-24 15:36:36
回答 1查看 1.1K关注 0票数 0

我必须对未绑定的列使用XamGrid (版本12.2)。我设法添加未绑定的列来显示数据,但不能应用任何过滤器。是否需要在Xaml中执行任何操作才能使未绑定列的过滤器可访问。我正在使用过滤器菜单选项来启用excel类似过滤器。

以下是xaml示例

代码语言:javascript
复制
<ig:XamGrid Name="xamGrid" AutoGenerateColumns="False">
            <ig:XamGrid.FilteringSettings>
                <ig:FilteringSettings AllowFiltering="FilterMenu"  FilteringScope="ColumnLayout">
                </ig:FilteringSettings>
            </ig:XamGrid.FilteringSettings>
            <ig:XamGrid.Columns>
                <ig:UnboundColumn Key="myfield" HeaderText="My Field" 
                          ValueConverter="{StaticResource fieldConverter}" 
                          ValueConverterParameter=""
                          IsFilterable="True">
                    <ig:UnboundColumn.ItemTemplate>
                        <DataTemplate>
                            <Grid HorizontalAlignment="Stretch">
                                <TextBlock Text="{Binding Value}" VerticalAlignment="Center"/>
                            </Grid>
                        </DataTemplate>
                    </ig:UnboundColumn.ItemTemplate>
                </ig:UnboundColumn>
            </ig:XamGrid.Columns>
        </ig:XamGrid>

在信息论坛上也提到了:http://www.infragistics.com/community/forums/p/62034/413183.aspx

EN

回答 1

Stack Overflow用户

发布于 2013-07-24 16:58:03

根据文档,它们在构建支持中没有提供过滤支持。http://help.infragistics.com/Help/NetAdvantage/Silverlight/2012.1/CLR4.0/html/xamGrid_Unbound_Column.html

您必须通过参考以下文档http://help.infragistics.com/Help/NetAdvantage/Silverlight/2012.1/CLR4.0/html/xamGrid_Create_a_Custom_Filter.html来实现自定义过滤

最好把你的问题张贴在Infragistics论坛上。(请参阅下文) http://www.infragistics.com/community/forums/default.aspx

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/17827919

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档