扩展搜索框的功能 [英] Expand the functionality of Search Box

查看:74
本文介绍了扩展搜索框的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以扩展搜索框"的功能.到我在数据网格中看到的所有数据?例如,如果我看到网格中来自关系表的数据,无论如何我都无法搜索它.这种行为尚不清楚 用户.

Hi, is possible to expand the functionality of "search box" to all the data that I see in a data grid?. For example, if I see data in a grid that comes from a relationship table, in anyway I can't search for it. This behavior is not clear to the users.

我知道我可以创建自定义搜索屏幕,例如视频如何"中的说明.在Beth中排名第23,但是要在数据网格的所有字段中进行搜索,我认为这不是最好的方法.对我来说,扩大搜索框"的搜索范围应该更好.

I know that I can create custom search screen, like explain in video "How do I" #23 of Beth, but to do search in all the fields of a data grid, I think this is not the best way. It should be better for me to expand the search of "search box".

谢谢.

推荐答案

据我所知,默认的搜索"中仅有可搜索的字段.是在SQL表中可搜索的字段(当然,您还必须将查询指定为可搜索的).据我了解,关系表数据已绑定到ID 另一个表格,因此您将无法在搜索字符串上进行匹配(从用户的角度来看).

As far as I know, the only searchable fields in the default "search" are the fields that are searchable in the SQL Table (of course, you have to specify the query as searchable as well).  As I understand it, relationship table data is bound to the ID of another table, so you wouldn't be able to match that on a search string (from a user's perspective). 

我知道用字符串搜索整个网格的唯一方法是创建自定义的搜索参数查询并将其设置为可选.您可以在查询设计器中指定要搜索的每一列(字段).

The only way I know of to search an entire grid with a string is to create the customized search parameter query and make it optional.  You can specify each column (field) that you want to search in the query designer.

希望这会有所帮助.


这篇关于扩展搜索框的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆