<?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: case insensitive local searching</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching</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/bugs/case-insensitive-local-searching/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mikeerickson on case insensitive local searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19941</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19941</guid>
        	        	<description><![CDATA[<blockquote>
<p>mikeerickson said:</p>
<blockquote>
<p>OlegK said:</p>
<p>Hi Tony!</p>
<p>I place the topic in "Bugs" part of forum only to make you easy to find it. I read in forum wisches to implement case insensitive searching for local data and find that it can be very easy implemented in jqGrid. I suggest following changes for grid.base.js:</p>
<p>1) include additional option <strong>ignoreCase: false</strong> in the line 687 (after groupingView option)</p>
<p>2) After the line 1364: query = $.jgrid.from(ts.p.data); insert the line</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>if (ts.p.ignoreCase) { query = query.ignoreCase(); }</strong></p>
<p>It&#39;s all. You can see demo after the changes under <a href="http://www.ok-soft-gmbh.com/jqGrid/CustomFilter3.htm" rel="nofollow" target="_blank"><a href="http://www.ok-soft-gmbh.com/jq" rel="nofollow">http://www.ok-soft-gmbh.com/jq</a>.....ilter3.htm</a>. I use in the demo filterToolbar with the new option {defaultSearch : "cn"}.</p>
<p>Best regards<br />Oleg</p>
</blockquote>
<hr />
<p>While this now allows case insensitive searching for data that "cn" it does NOT work from beginning of text</p>
</p>
<p>If I have&#160;</p>
</p>
<p>Abdo</p>
<p>abdo</p>
</p>
<p>And I type &#39;abdo&#39; it will find the second, but not the first.</p>
</blockquote>
<hr />
<p>Well, I guess it does work (it would help if I pasted the code at the right place). &#160; Sorry for the noise</p>
</p>
<p>mse</p>
]]></description>
        	        	<pubDate>Wed, 22 Sep 2010 21:19:41 +0300</pubDate>
        </item>
        <item>
        	<title>mikeerickson on case insensitive local searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19940</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19940</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Hi Tony!</p>
<p>I place the topic in "Bugs" part of forum only to make you easy to find it. I read in forum wisches to implement case insensitive searching for local data and find that it can be very easy implemented in jqGrid. I suggest following changes for grid.base.js:</p>
<p>1) include additional option <strong>ignoreCase: false</strong> in the line 687 (after groupingView option)</p>
<p>2) After the line 1364: query = $.jgrid.from(ts.p.data); insert the line</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>if (ts.p.ignoreCase) { query = query.ignoreCase(); }</strong></p>
<p>It&#39;s all. You can see demo after the changes under <a href="http://www.ok-soft-gmbh.com/jqGrid/CustomFilter3.htm" rel="nofollow" target="_blank"><a href="http://www.ok-soft-gmbh.com/jq" rel="nofollow">http://www.ok-soft-gmbh.com/jq</a>.....ilter3.htm</a>. I use in the demo filterToolbar with the new option {defaultSearch : "cn"}.</p>
<p>Best regards<br />Oleg</p>
</blockquote>
<hr />
<p>While this now allows case insensitive searching for data that "cn" it does NOT work from beginning of text</p>
</p>
<p>If I have&#160;</p>
</p>
<p>Abdo</p>
<p>abdo</p>
</p>
<p>And I type &#39;abdo&#39; it will find the second, but not the first.</p>
]]></description>
        	        	<pubDate>Wed, 22 Sep 2010 21:15:23 +0300</pubDate>
        </item>
        <item>
        	<title>Chad LaVigne on case insensitive local searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19819</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19819</guid>
        	        	<description><![CDATA[<p>Thanks for adding these 2 options, I was also looking for them.&#160; I&#39;m using Oleg&#39;s updates and found a small bug.&#160; If the column is a date type, the toLowerCase calls in the compare function fail.&#160; These calls are on lines 265 &#38; 266 of Oleg&#39;s grid.base-new.js file.&#160; I think a toString call is all that is needed to fix it, chaning lines 265 &#38; 266 to following fixed the issue for me.</p>
<p>a=a.toString().toLowerCase();</p>
<p>b=b.toString().toLowerCase();</p>
</p>
<p>Thanks for putting out an excellent plugin.</p>
</p>
<p>Chad</p>
]]></description>
        	        	<pubDate>Thu, 16 Sep 2010 21:51:35 +0300</pubDate>
        </item>
        <item>
        	<title>tony on case insensitive local searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19699</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19699</guid>
        	        	<description><![CDATA[<p>Oleg,</p>
<p>Thanks again. Too many options into the grid, but instead I will include this.</p>
</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 11 Sep 2010 13:40:19 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on case insensitive local searching</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19541</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/case-insensitive-local-searching#p19541</guid>
        	        	<description><![CDATA[<p>Hi Tony!</p>
<p>I place the topic in "Bugs" part of forum only to make you easy to find it. I read in forum wisches to implement case insensitive searching for local data and find that it can be very easy implemented in jqGrid. I suggest following changes for grid.base.js:</p>
<p>1) include additional option <strong>ignoreCase: false</strong> in the line 687 (after groupingView option)</p>
<p>2) After the line 1364: query = $.jgrid.from(ts.p.data); insert the line</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>if (ts.p.ignoreCase) { query = query.ignoreCase(); }</strong></p>
<p>It&#39;s all. You can see demo after the changes under <a href="http://www.ok-soft-gmbh.com/jqGrid/CustomFilter3.htm" rel="nofollow" target="_blank"><a href="http://www.ok-soft-gmbh.com/jq" rel="nofollow">http://www.ok-soft-gmbh.com/jq</a>.....ilter3.htm</a>. I use in the demo filterToolbar with the new option {defaultSearch : "cn"}.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Mon, 06 Sep 2010 13:00:21 +0300</pubDate>
        </item>
</channel>
</rss>