How can I configure free-jqGrid (4.8) filterToolbar to search all word within a field?
Data
- one two three
- two three four
- one four three
Search Words
- "one four" , returns row 3
- "four three" , returns rows 2 and 3
- "one three" , returns rows 1 and 3
- "four" , returns rows 2 and 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
});