<?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: Combo Select Values: Simple Search</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search</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/combo-select-values-simple-search/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>p2pow350 on Combo Select Values: Simple Search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23363</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23363</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>using this option "formatter:&#39;select&#39;, " in the colmodel make the difference, now it show exactly the Value and not the ID; in my example it show "CREDIT CARD" and not "2".</p>
<p>OK, but the problem I&#39;m getting now is for searching and for editing...</p>
<p>For searching: I am making search with the value and not the ID, I&#39;m looking for all orders done with "CREDIT CARD" and the database contain an ID for this column, so the search string the user type contain "CREDIT CARD" and not "2" and no records can be found</p>
<p>For Editing: The grid actually show a combobox for the value, but it&#39;s not showing the current record value, it&#39;s showing the list from the beginning. If the order has been done with CREDIT CARD, it means it&#39;s the second value in the combo, however it always show "CASH" for any record I&#39;m editing. For two elements will be not a problem, for many and many this could be a problem for the user memory....</p>
</p>
<p>Thanks</p>
<p>Max</p>
]]></description>
        	        	<pubDate>Fri, 27 May 2011 11:13:36 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Combo Select Values: Simple Search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23355</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23355</guid>
        	        	<description><![CDATA[</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:predefined_formatter#formatter_type_select" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ype_select</a></p></p>
]]></description>
        	        	<pubDate>Fri, 27 May 2011 00:21:19 +0300</pubDate>
        </item>
        <item>
        	<title>p2pow350 on Combo Select Values: Simple Search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23352</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23352</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>no, it&#39;s not a lack of time...</p>
<p>The coltype for column Payment_id is declared in this way:</p>
<pre id="line86">{name:&#39;fk_id_payment&#39;,index:&#39;fk_id_</pre>
<pre id="line86">payment</pre>
<p>&#39;, editable: true,edittype:"select", editoptions:{value:"1:CASH;2:CREDIT CARD;"}},</p>
<p>But in my tests using all features I found always this result:</p>
</p>
<p>ORDER_ID &#124; NAME &#124; PAYMENT_ID</p>
<p>567 -&#62; SMITH -&#62; 1</p>
<p>789 -&#62; FOO -&#62; 2</p>
</p>
<p>If I can I will post a sample page with code to show you.</p>
<p>Thanks</p>
<p>Max</p></p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 22:07:00 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Combo Select Values: Simple Search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23350</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23350</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I suppose you do not have time to read the documentation. Is this right?</p>
<p>What about if you look into the documentation for&#160; formatters and especially for for some type of build in formatter named select!</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 21:40:21 +0300</pubDate>
        </item>
        <item>
        	<title>p2pow350 on Combo Select Values: Simple Search</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23347</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/combo-select-values-simple-search#p23347</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>again on Combobox/Form Editing.</p>
<p>I&#39;m facing a question about combos, especially for searching values..</p>
<p>I have a decoding table, for ex. PAYMENT_TYPES with this values:</p>
<p>ID &#124; TYPE</p>
<p>1 -&#62; CASH</p>
<p>2 -&#62; CREDIT CARD</p>
</p>
<p>And in my customer orders table I have those values:</p>
<p>ORDER_ID &#124; NAME &#124; PAYMENT_ID</p>
<p>567 -&#62; SMITH -&#62; 1</p>
<p>789 -&#62; FOO -&#62; 2</p>
</p>
<p>For showing Orders grid I&#39;m using a MySql query that join IDs to show Text inside Grid (for ex. I will show "CASH" and not "1" when listing orders), but this will be a problem for searching because the filter refer to "CASH" and not 1</p>
<p>How to fix this? How to pass the query the correspondant ID, or how to let the grid to decode itself the IDs and show Values?</p>
<p>Thanks</p>
<p>Max</p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 18:49:32 +0300</pubDate>
        </item>
</channel>
</rss>