<?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: dataURL &#38; Selects</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dataurl-selects</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/dataurl-selects/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on dataURL &#38; Selects</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dataurl-selects#p8789</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dataurl-selects#p8789</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please check in FireBug what you get from dataUrl response - i.e. what is the status of the request with this url <span style="color: #ff0000;"><strong>selectlist.cfm <br /></strong></span></p>
<p>after you open the form or edit the row or cell.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 19 Aug 2009 06:20:48 +0300</pubDate>
        </item>
        <item>
        	<title>JSmith7040 on dataURL &#38; Selects</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dataurl-selects#p8754</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dataurl-selects#p8754</guid>
        	        	<description><![CDATA[<p>I want to say I have researched the forum extensively and although I have seen helpful information on how to deal with creating a "Select" using the DataURL declaration I am having no luck.&#160; I keep getting an empty select in both the Add &#38; Edit form.</p>
<p>I am using V3.5</p>
</p>
<p>My ColModel is:</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#39;#filter&#39;).jqm();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var selectedRow = 0;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $("#list").jqGrid(<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url:&#39;speciesType.cfc?method=getSpeciesType&#39;, //CFC that will return the users<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; datatype: &#39;json&#39;, //We specify that the datatype we will be using will be JSON<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colNames:[&#39;ID&#39;,&#39;Species Type&#39;,&#39;SpeciesID&#39;,&#39;OwnerID&#39;,&#39;UserID&#39;], //Column Names<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; /*<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; The Column Model to define the data. Note you can make columns non sortable, specify width, alignment, etc.<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; We also specify the editoptions, edittype=text shows a nice textbox for inline edit. <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; We have also specified Edit Rules, to say which fields are required/not required for add/edit<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; */<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;typeID&#39;,index:&#39;typeID&#39;, width:50,resizable:false, sorttype:"int",resizable:false,editrules:{readonly:true}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;typeDesc&#39;,index:&#39;typeDesc&#39;, width:250,resizable:false, sorttype:"text",editable:true,edittype:"text",editoptions:{size:30,maxlength:50},editrules:{required:true}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;<strong> {name:&#39;speciesId&#39;,index:&#39;speciesId&#39;, width:50, editable:true, edittype:&#39;select&#39;,</strong><span style="color: #ff0000;"><strong> editoptions:{dataUrl:&#39;selectlist.cfm&#39;, defaultValue:&#39;1</strong></span>&#39;}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;ownerId&#39;,index:&#39;ownerId&#39;, width:75,resizable:false, align:"left",sorttype:"int",editable:true,edittype:"text",editoptions:{size:30,maxlength:50},editrules:{required:true}},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;userId&#39;,index:&#39;userId&#39;, width:75,resizable:false, align:"left",sorttype:"int",editable:true,edittype:"text",editoptions:{size:30,maxlength:50},editrules:{required:true}}<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ],&#160;&#160;&#160;</p>
</p>
<p>My &#39;selectlist.cfm&#39; is :</p>
<p>&#60;select name="list"&#62;<br />&#160; &#60;option value="1"&#62;One&#60;/option&#62;<br />&#160; &#60;option value="2"&#62;Two&#60;/option&#62;<br />&#160; &#60;option value="3"&#62;Three&#60;/option&#62;<br />&#60;/select&#62;</p>
</p>
<p>Any insight into what I am doing incorrectly would greatly be appreciated.</p>
<p><input id="gwProxy" type="hidden"/><!--Session data--><input id="jsProxy" onclick="jsCall();" type="hidden" /></p>
]]></description>
        	        	<pubDate>Tue, 18 Aug 2009 12:09:41 +0300</pubDate>
        </item>
</channel>
</rss>