w2grid.searchMap

Map for search fields (local to remote).
Object, default = {}
By default, if you search, it will submit column field to the searchData array to send to the server side for searching. However, sometimes column field names are not the same as search names. The .searchMap allows to map search fields differently.
You can defined it during object creation: Or any time during the run-time:

User Comments

comments powered by Disqus