Explanation for strange behavior for jqGrid search when 'data' input element doesn't lose focus?
===

I noticed some strange behavior today with jqGrid's search functionality.  It seems as though the value that you provide to be searched on will not update and send correctly until the input element, `<input id="jqg1"`, loses focus.

I noticed this while playing around with the jquery hotkeys plugin.  The user can search by using a hot key combination, which calls a trigger for the click event of the element that you would normally click to perform the search:

    jQuery('#fbox_dGrid_search').trigger('click');

My 'data' field would be empty when I checked the filters even if I had typed something into the data input element:

    filters: {"groupOp":"AND","rules":[{"field":"searchField","op":"eq","data":""}]}

I messed with it for a bit and found that the data that is sent in the filters is whatever was typed in the input element for the data **the last time it lost focus**.

Here's how I came to that conclusion:

I typed in '248' into the data input element, then I clicked outside of the input element, then I clicked back inside the input element and typed '859' after what I had previously typed.  So, at this point, the contents of the element was '248859'.  I made a call to trigger the click element of `jQuery('#fbox_dGrid_search')` (therefore not losing the focus in the data input element).  When I checked the filters:

    filters: {"groupOp":"AND","rules":[{"field":"stockNumber","op":"eq","data":"248"}]}

The data that was sent was the content of the input element the last time it lost focus.  To me, this is unexpected behavior.  Is this a bug or is there some kind of benefit for this behavior?  Is there a different explanation altogether that I am just missing?

**Edit:** Using version 4.4.0 of jqGrid