If i use the filter box at the top and type 1 is
i get the results for
1 and
18 and
8718
anything with a 1.. i only want ="1"
can i do that
thank you
1 Answers
With that column where you want exact search, you can set:
$col["searchoptions"]["sopt"] = array("eq");
To change this behavior in all search:
Replace cn with eq in code of filterToolbar:
jQuery("#<?php echo $grid_id?>").jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false, defaultSearch:'cn'});
Your Answer