devexpress gridview过滤asp ShowFilterRow
我的 asp.net 页面中有一个 devexpress gridview,其中有一个过滤器行。这个内置控件似乎根据搜索词是否与数据开头相同进行过滤。
因此,“Sa”会找到“Sam's Chicken”,但找不到“Big Sam”。有一个解决方法,您可以输入“%Sa”来查找任何匹配项,尽管用户对此并不是特别满意。
过滤是否会触发任何事件,我可以处理这个事件而不是使用默认值吗?
谢谢
I have a devexpress gridview within my asp.net page which has a filter row. This in-built control seems to filter based on whether the search term is same as the beginning of the data.
So "Sa" would find "Sam's Chicken" but not "Big Sam". There is a work around that you can enter "%Sa" to find any matches though users are not particularly happy with this.
Does the filtering fire any events and can I handle this rather than use the default?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您将列的 Settins.AutoFilterCondition 设置为 Contains 值。此外,您还可以将 ASPxGridView.Settings.ShowFilterRowMenu 属性设置为 true。在这种情况下,最终用户将能够为每一列设置过滤条件
I would suggest that you set the column's Settins.AutoFilterCondition to the Contains value. Also, you can set the ASPxGridView.Settings.ShowFilterRowMenu property to true. In this case, the end user will be able to set a filter condition for every column