<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: sopt (advanced search) not null option</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/sopt-advanced-search-not-null-option</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/sopt-advanced-search-not-null-option/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on sopt (advanced search) not null option</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sopt-advanced-search-not-null-option#p17585</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sopt-advanced-search-not-null-option#p17585</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for this.</p>
<p>Currently the way that this is organized is not good. There is a work on this, but the main purpose not to implement it is that we need to save the code of all existing users.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 30 May 2010 13:39:09 +0300</pubDate>
        </item>
        <item>
        	<title>betty on sopt (advanced search) not null option</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sopt-advanced-search-not-null-option#p17457</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sopt-advanced-search-not-null-option#p17457</guid>
        	        	<description><![CDATA[<p>There are already 14 options defined in sopt, and each of the option can be mapped to a sql operator. But it looks like none of them can be mapped "is not null" easily. So I got a requirement of adding "not null" (has data) option in my application.</p>
</p>
<p>I have these mapping coded in my source. And sql statement will be generated automatically based on a selected sopt option. Any suggestion about adding the "not null" option? My idea is that I have to modify the jqgrid source file to add one more option to define the "not null" option. Any other ideas?</p>
</p>
<p>&#160;&#160; protected static final String[] sopt&#160;&#160; = {"eq","ne","lt", "le", "gt","ge", "bw",&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160; "bn",&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160; "in",&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160; "ni",&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160; "ew",&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160; "en",<br />&#160;&#160;&#160;&#160;&#160; "cn",<br />&#160;&#160;&#160;&#160;&#160; "nc"};<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160; protected static final String[] sqlopt = {"=", "!=", "&#60;", "&#60;=", "&#62;", "&#62;=", " LIKE &#39;val%&#39; ", <br />&#160;&#160;&#160;&#160;&#160; " NOT LIKE &#39;val%&#39; ", <br />&#160;&#160;&#160;&#160;&#160; " IN (val) ", <br />&#160;&#160;&#160;&#160;&#160; " NOT IN (val) ", <br />&#160;&#160;&#160;&#160;&#160; " LIKE &#39;%val&#39; ", <br />&#160;&#160;&#160;&#160;&#160; " NOT LIKE &#39;%val&#39; ", <br />&#160;&#160;&#160;&#160;&#160; " LIKE &#39;%val%&#39; ",<br />&#160;&#160;&#160;&#160;&#160; " NOT LIKE &#39;%val%&#39; "};</p>
</p>
<p>Best regard.</p></p>
]]></description>
        	        	<pubDate>Tue, 25 May 2010 23:28:45 +0300</pubDate>
        </item>
</channel>
</rss>