フィールド内のすべての単語を検索するように free-jqGrid (4.8) filterToolbar を構成するにはどうすればよいですか?
データ
- 一二三
- 二 三 四
- 1 4 3
検索ワード
- "one four" 、行 3 を返します
- "four three" 、行 2 と 3 を返します
- "one three" 、行 1 と 3 を返します
- "four" 、行 2 と 3 を返します
jqGrid API
$("#list").jqGrid({
datatype: "local",
colNames: ["Name"],
colModel: [{
name: "name",
index: "name"
}],
caption: "Viz Test",
pager: '#pager',
search: true,
multiselect: true,
data: myData
});
jQuery("#list").jqGrid('filterToolbar', {
searchOperators: true
});