<?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: Filtering columns with spaces</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/filtering-columns-with-spaces</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/filtering-columns-with-spaces/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>LeonD on Filtering columns with spaces</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/filtering-columns-with-spaces#p18886</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/filtering-columns-with-spaces#p18886</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>When I create the column model, I assign identical value to <strong>label, caption </strong>and&#160; <strong>index</strong>. When I start typing values into filtering toolbar for a column that has a space in it like "Assigned To",&#160; I get an error that a ")" is missing.&#160; Stepping through the code I found that when compare is happening it tries to access the access the column name as a property thus causing the issue:</p>
</p>
<p><span style="color: #ff0000;">(String(rec.Assigned To).substr(0,1) == String("O"))&#160; </span></p>
</p>
<p><span style="color: #000000;">I tried removing the space from <strong>caption </strong>which prevented the error from happening but the grid was blanked out completely.&#160; I am not quite sure if I am doing something wrong of if this is a bug.</span></p>
</p>
<p><span style="color: #000000;">TIA, </span></p>
<p><span style="color: #000000;">Leon<br /></span></p>
]]></description>
        	        	<pubDate>Fri, 30 Jul 2010 20:13:44 +0300</pubDate>
        </item>
</channel>
</rss>