Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
wiki:custom_searching [2009/07/26 17:50] tony |
wiki:custom_searching [2009/11/28 08:07] 127.0.0.1 external edit |
||
---|---|---|---|
Line 16: | Line 16: | ||
and then | and then | ||
<code javascript> | <code javascript> | ||
- | jQuery("#mysearch").filterGrid("#grid_id",options); | + | jQuery("#mysearch").filterGrid('#grid_id',options); |
+ | </code> | ||
+ | or using the new API | ||
+ | <code javascript> | ||
+ | jQuery("#mysearch").jqGrid('filterGrid','#grid_id',options); | ||
</code> | </code> | ||
Line 59: | Line 63: | ||
sg.clearSearch(); | sg.clearSearch(); | ||
</code> | </code> | ||
+ | |||
+ | <note important>Do not use these methods with the new API. They will not work!</note> |