<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>search - Mark Rogers</title>
        <description>This is the Oxite Sample description</description>
        <link>http://www.markdavidrogers.com/oxitesample/Tags/search</link>
        <language>en</language>
        <image>
            <url>http://www.markdavidrogers.com/oxitesample/Content/icons/flame.png</url>
            <title>Mark Rogers</title>
            <link>http://www.markdavidrogers.com/oxitesample/Tags/search</link>
            <width>64</width>
            <height>64</height>
        </image>
        <item>
            <dc:creator>Admin</dc:creator>
            <title>jqGrid missing search codes</title>
            <description>&lt;p&gt;Recently, I've had a need for presenting tabular data in my &lt;a href=&quot;http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller&quot;&gt;MVC-style&lt;/a&gt; web application, and I figured this is such a common task that I might as well ask around.   Thus I posted &lt;a href=&quot;http://stackoverflow.com/questions/1736288/whats-the-best-way-to-create-a-paging-gridview-style-partial-view-in-asp-net-mvc&quot;&gt;this question&lt;/a&gt; on stack-overflow about presenting tabular data, and was told about &lt;a href=&quot;http://www.trirand.com/blog/&quot;&gt;jqGrid (the project author's site can load a little slow sometimes)&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
jqGrid is pretty impressive, as far as client-side capabilities go, it puts the old asp.net webforms GridView to shame.  But it's got a couple of minor problems, for one the API has a kind of hacked-together feel and the jQuery plugin initialization function call is epic, even for average uses of the grid.  That said the jqGrid does almost everything you can think of, from searching and paging to editing and selecting rows.  &lt;/p&gt;

&lt;p&gt;I think what slowed me down the most was the disjointed nature of the documentation. After reading some random blog posts, I finally found the main core of &lt;a href=&quot;http://www.secondpersonplural.ca/jqgriddocs/index.htm&quot;&gt;docs here&lt;/a&gt;.  But even those docs have some random holes in them that have to be filled via google and blog posts.&lt;/p&gt;

&lt;p&gt;One thing in particular I found missing, was that when you are implementing searching you have to be able to translate the search operator codes sent by the grid to the server into something you can use on the server side.  One mildly frustrating problem was that the documentation only lists 9 of the 14 total search operator codes that you have to translate.&lt;/p&gt;

I'll list the rest of the codes here:
&lt;blockquote&gt;
bn - not begins with ( !(LIKE val%) )&lt;br/&gt;
in - is in ( checks if the searchField is in the searchString )&lt;br/&gt;
ni - is not in (checks if the searchField is not in the searchString  )&lt;br/&gt;
en - does not end with (!(LIKE %val) )&lt;br/&gt;
nc - does not contain (!(LIKE %val%))&lt;br/&gt;
&lt;/blockquote&gt;
</description>
            <link>http://www.markdavidrogers.com/oxitesample/Blog/jqgrid-missing-search-codes</link>
            <guid isPermaLink="true">http://www.markdavidrogers.com/oxitesample/Blog/jqgrid-missing-search-codes</guid>
            <pubDate>Thu, 19 Nov 2009 06:47:00 GMT</pubDate>
            <category>jqgrid</category>
            <category>mvc</category>
            <category>search</category>
        </item>
    </channel>
</rss>
