为 Devexpress ASPxGridView 配置过滤器

发布于 2024-09-18 10:19:44 字数 404 浏览 2 评论 0原文

我有一个名为“状态”的列,它显示与状态相对应的图像。我在这个专栏上有一个过滤器。我怎样才能本地化?

<dx:GridViewDataImageColumn Caption="Status" FieldName="Status" Width="100px" 
ShowInCustomizationForm="True" VisibleIndex="9">
<Settings AllowSort="True" SortMode="Value" AllowHeaderFilter="True" ShowInFilterControl="True" />
<HeaderStyle HorizontalAlign="Center" />
</dx:GridViewDataImageColumn>

I have a column named Status that display an image corresponding to states. And I have a filter on this column. How can I localize?

<dx:GridViewDataImageColumn Caption="Status" FieldName="Status" Width="100px" 
ShowInCustomizationForm="True" VisibleIndex="9">
<Settings AllowSort="True" SortMode="Value" AllowHeaderFilter="True" ShowInFilterControl="True" />
<HeaderStyle HorizontalAlign="Center" />
</dx:GridViewDataImageColumn>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

玉环 2024-09-25 10:19:44

我不确定我是否正确理解你的任务。但是,您似乎需要使用 gridView 的 HeaderFilterFillItems 事件来完成您的任务。

I am not sure that I understand your task correctly. However, it seems that you need to use the gridView's HeaderFilterFillItems event to accomplish your task.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文