How to get value of "Search Dialog" in jqgrid navGrid -
i want value of "search dialog" in jqgrid navgrid.
but don't know how it.
example pic follows
i have values.
createdate
equal
2017-07-25
i not use 'eq' use 'ne','lt'...etc.
(sopt : ['eq','ne','lt','le','gt','ge','bw'])
versions: - jqgrid 5.1.1
thanks lot.
if read guriddo jqgrid docs here can these values when using onsearch event. since single search dialog predefined fields used.
to these values define onsearch event this
onsearch : function (filters) postdata = $(this).jqgrid('getgridparam', 'postdata'); field = postdata.searchfield; value = postdata.searchstring; oper = postdata.searchoper; // return true enable search, false stop return true; } note event should defened within navigator searchoptions or parameter in searchgrid method
Comments
Post a Comment