<?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: FOREIGN KEY fields</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/foreign-key-fields</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/foreign-key-fields/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on FOREIGN KEY fields</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/foreign-key-fields#p16521</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/foreign-key-fields#p16521</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Maybe you will need to use jQuery UI autocomplete.</p>
<p><a href="http://jqueryui.com/demos/autocomplete/" rel="nofollow" target="_blank">http://jqueryui.com/demos/autocomplete/</a></p>
<p>Also in this case you can attach the autocomplete plugin in</p>
<p>onInitializeForm event (which fire only once).</p>
<p>If I rememeber right there is a such example in this forum.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 19 Apr 2010 13:26:34 +0300</pubDate>
        </item>
        <item>
        	<title>eai on FOREIGN KEY fields</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/foreign-key-fields#p16447</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/foreign-key-fields#p16447</guid>
        	        	<description><![CDATA[<p>Hello guys,</p>
</p>
<p>I have some problem with foreign key fields.</p>
<p>For example, I have 2 tables Clients and Orders.</p>
<p>In table Orders I have key field to table Clients.</p>
<p>Of couse in grid I have to show Name of client instead key value.</p>
<p>No problem if it is readonly grid, but if I need edit mode I get problem.</p>
<p>I have to have in one field 2 values from server, key for edit mode and title to show in the grid.</p>
<p>As I understand it is not possible now.</p>
<p>Of couse I can send 2 fields from server, ClientID (hidden) and ClientName.</p>
<p>Well, but what to do now?</p>
<p>In edit form I need to have something like combobox, but it is not possible to use combobox, because table Clients has to many records.</p>
<p>I need to have lookup fields with ajax searching (autocomplete) in table Clients and save just a key.</p>
<p>&#8230; maybe button which open new modal grid with Clients table, where user can select record and save key in edit form.</p>
<p>I am sure, I am not first who need to do it.</p>
<p>Any example how it is possible to resolve my problem ?</p>
</p>
<p>Thanks &#38; Best&#160; regards</p>
<p>Evgeny</p>
</p>
<p>P.S.</p>
<p>jqGrid is BEST <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p></p>
]]></description>
        	        	<pubDate>Fri, 16 Apr 2010 08:38:53 +0300</pubDate>
        </item>
</channel>
</rss>