代码拉取完成,页面将自动刷新
You can enable the searching option for your grid. Searching allows to search for a text on all columns at the same time.
You can enable searching for all columns of a grid using the Searchable method for the GridODataClient object:
var client = new GridODataClient<Order>(httpClient, url, query, false, "ordersGrid", columns, 10, locale)
.Searchable(true, false, true);
Parameter | Description | Example |
---|---|---|
enable (optional) | bool to enable searching on the grid | Searchable(true, ...) |
onlyTextColumns (optional) | bool to enable searching on all collumns or just on string ones | Searchable(..., true, ...) |
hiddenColumns (optional) | bool to enable searching on hidden columns | Searchable(..., true) |
enable
default value is true
, onlyTextColumns
default value is true
, and hiddenColumns
default value is false
.
Searching on boolean columns has benn disabled because EF Core 3.0 is not supporting it yet.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。