<?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: How to display data in grid cell for a multiselect combobox?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox</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/how-to-display-data-in-grid-cell-for-a-multiselect-combobox/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30564</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30564</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Not sure what you do.</p>
<p>This is exactley your code. The only diffrenece is that I use the source array data.</p>
<p>See it in <a href="/blog/phpjqgrid/examples/other/bigfoot/example1.html" target="_blank">action here</a></p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Sat, 03 May 2014 09:51:43 +0300</pubDate>
        </item>
        <item>
        	<title>ksbigfoot on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30547</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30547</guid>
        	        	<description><![CDATA[<p>I changed the code to what you specified and I am still getting a 404 result showing URL as: GET /admin/function()%20%7Bvar%20srow%20=%20jQuery(%22%23list%22).jqGrid(&#39;getGridP....</p>
]]></description>
        	        	<pubDate>Fri, 25 Apr 2014 04:27:41 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30541</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30541</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>This code is wrong:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit581' value='Select Code' data-codeid='sfcode581' /></p>
<div class='sfcode' id='sfcode581'>
<p>&#160;&#160;&#160;&#160; {name:&#39;CATNAME2&#39;,index:&#39;CATNAME2&#39;, width:80,align:&#39;right&#39;, sortable:false, editable:true, editrules:{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; required:true, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; edithidden:true<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, hidden:true,<br />&#160;&#160;&#160;&#160;&#160;&#160; formatter: &#39;select&#39;, edittype: &#39;select&#39;, <br />&#160;&#160;&#160;&#160;&#160;&#160; editoptions: {<br />&#160;&#160;&#160;&#160;&#160;&#160;multiple:true, <br />&#160;&#160;&#160;&#160;&#160;&#160;size:10,<br />&#160;&#160;&#160;&#160;&#160;&#160;dataUrl: "categorySelect2.php",<br />&#160;&#160;&#160;&#160;&#160;&#160;postData: function (rowid) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;return {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;action: "getState",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;CATNAME2: $(this).jqGrid("getCell", rowid, "CATNAME2")<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;};<br />&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160;&#160;&#160;}</p>
</p>
</div>
<p>Try this please</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2997' value='Select Code' data-codeid='sfcode2997' /></p>
<div class='sfcode' id='sfcode2997'>
<p>{name:&#39;CATNAME2&#39;,index:&#39;CATNAME2&#39;, width:80,align:&#39;right&#39;, sortable:false, editable:true,</p>
<p>editrules:{<br />&#160; required:true, <br />&#160; edithidden:true<br />&#160;},</p>
<p>hidden:true,<br />formatter: &#39;select&#39;, edittype: &#39;select&#39;, <br />editoptions: {<br />&#160; &#160; multiple:true, <br />&#160;&#160;&#160; size:10,<br />&#160;dataUrl : function(){</p>
<p>var srow = jQuery("#grid").jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;);</p>
<p>myUrl = "categorySelect.php";</p>
<p>if( srow ) {</p>
<p>myUrl = &#39;categorySelect.php?id=&#39;+srow;</p>
<p>}</p>
<p>return myUrl;<br />&#160; }<br />}</p>
</div>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 24 Apr 2014 12:02:46 +0300</pubDate>
        </item>
        <item>
        	<title>ksbigfoot on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30539</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30539</guid>
        	        	<description><![CDATA[<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&#62;<br />&#60;html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" xml:lang="en" lang="en"&#62;<br />&#60;head&#62;<br />&#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&#62;<br />&#60;title&#62;JQGrid&#60;/title&#62;</p>
<p>&#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&#62;<br />&#60;link type="text/css" href="css/ui-lightness/jquery-ui-1.8.12.custom.css" rel="stylesheet" /&#62;</p>
<p>&#60;script src="js/jquery-1.5.2.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery-ui-1.8.12.custom.min.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;!-- &#60;script src="js/jquery.layout.js" type="text/javascript"&#62;&#60;/script&#62; --&#62;<br />&#60;script src="js/i18n/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript"&#62;<br />&#160;$.jgrid.no_legacy_api = true;<br />&#160;$.jgrid.useJSON = true;<br />&#60;/script&#62;</p>
<p>&#60;script src="plugins/ui.multiselect.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script src="plugins/jquery.contextmenu.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="plugins/jquery.searchFilter.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script src="js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;style type="text/css"&#62;</p>
<p>body{<br />font-family:"Verdana";<br />font-size:12px;<br />}<br />.ui-jqgrid tr.jqgrow td {vertical-align:top !important}</p>
<p>&#60;/style&#62;</p>
<p>&#60;script type="text/javascript"&#62;</p>
<p>jQuery(document).ready(function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var $mygrid= jQuery("#list").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="&#39;test.php&#39;" target="_blank">url:&#39;test.php&#39;</a>,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl: &#39;edit.php&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;ID&#39;,&#39;TITLE&#39;, &#39;DATE ADDED&#39;,&#39;DESCRIPTION&#39;,&#39;KEYWORDS&#39;,&#39;SECURITY&#39;,&#39;CATEGORY&#39;, &#39;CATEGORY2&#39;,&#39;UPLOADER&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160; {name:&#39;V_ID&#39;,index:&#39;V_ID&#39;, width:55, resizable:false, key:true, editable:false,edittype:&#39;text&#39;,formatter:&#39;showlink&#39;,formatoptions:{target:"_new", baseLinkUrl:&#39;displayLink.php&#39;}},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;V_TITLE&#39;,index:&#39;V_TITLE&#39;, width:90,resizable:false, sortable:true, editable:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;V_DATE_ADDED&#39;,index:&#39;V_DATE_ADDED&#39;, width:80, align:&#39;right&#39;, editable:false},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;V_DESCRIPTION&#39;,index:&#39;V_DESCRIPTION&#39;, width:80, align:&#39;right&#39;, sortable:true, editable:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;V_KEYWORDS&#39;,index:&#39;V_KEYWORDS&#39;, width:80,align:&#39;right&#39;, sortable:true, editable:true},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;V_PRIVATE_VID&#39;,index:&#39;V_PRIVATE_VID&#39;, width:80,align:&#39;right&#39;, sortable:true, editable:true,formatter: &#39;select&#39;, edittype: &#39;select&#39;, editoptions: { value: "private:private;public:public"}},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;CATNAME&#39;,index:&#39;CATNAME&#39;, width:80,align:&#39;right&#39;, sortable:false, editable:false},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;CATNAME2&#39;,index:&#39;CATNAME2&#39;, width:80,align:&#39;right&#39;, sortable:false, editable:true, editrules:{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; required:true, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; edithidden:true<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, hidden:true,<br />&#160;&#160;&#160;&#160;&#160;&#160; formatter: &#39;select&#39;, edittype: &#39;select&#39;, <br />&#160;&#160;&#160;&#160;&#160;&#160; editoptions: {<br />&#160;&#160;&#160;&#160;&#160;&#160;multiple:true, <br />&#160;&#160;&#160;&#160;&#160;&#160;size:10,<br />&#160;&#160;&#160;&#160;&#160;&#160;dataUrl: "categorySelect2.php",<br />&#160;&#160;&#160;&#160;&#160;&#160;postData: function (rowid) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;return {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;action: "getState",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;CATNAME2: $(this).jqGrid("getCell", rowid, "CATNAME2")<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;};<br />&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160;&#160;&#160;},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;V_UPLOADER&#39;,index:&#39;V_UPLOADER&#39;, width:80,align:&#39;right&#39;, sortable:true, editable:false} ],<br />&#160;&#160;&#160;&#160;&#160;pager: &#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;rowNum:30,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;V_ID&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "Asc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 1200,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: &#39;100%&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; toolbar: [true,"top"],<br />&#160;&#160;&#160;&#160;&#160;caption: "My Video Admin"<br />&#160;&#160;});<br />&#160;<br />&#160;&#160; jQuery("#list").jqGrid(&#39;navGrid&#39;,&#39;#pager&#39;,{add:false,edit:true,del:true,search: true, refresh:true});</p>
<p>});<br />&#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;table id="list"&#62;&#60;/table&#62;</p>
<p>&#60;div id="pager"&#62;&#60;/div&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
]]></description>
        	        	<pubDate>Wed, 23 Apr 2014 22:52:00 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30515</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30515</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Can you please make a demo in jsfiddle or post your full source code.?</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Sat, 19 Apr 2014 10:58:13 +0300</pubDate>
        </item>
        <item>
        	<title>ksbigfoot on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30506</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30506</guid>
        	        	<description><![CDATA[<p>&#160;I am getting a 404 &#8211; File or directory not found. Seems like the function is not being processed.</p>
<p>Fiddler is showing that it is trying to call "GET /function(rowid,%20value,%20name...</p>
<p>I changed the code to this and it still isn&#39;t processing the function:</p>
<p>dataUrl: function(rowid, value, name) {<br />&#160;&#160;&#160;&#160;&#160;&#160;myUrl = "categorySelect.php?id=6842";<br />&#160;&#160;&#160;&#160;&#160;&#160;return myUrl;<br />&#160;&#160;&#160;&#160;&#160;&#160; }&#160;</p>
]]></description>
        	        	<pubDate>Wed, 16 Apr 2014 19:07:29 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30505</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30505</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The first parameter in this case is calculated incorrect - I mean there is a bug.</p>
<p>Try with this code.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1449' value='Select Code' data-codeid='sfcode1449' /></p>
<div class='sfcode' id='sfcode1449'>
<p>dataUrl&#160; : function( rowid, value, name) {</p>
<p>var srow = jQuery("#grid").jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;);</p>
<p>myUrl = "Set here default value in case no row is selected";</p>
<p>if( srow ) {</p>
<p>myUrl = &#39;categorySelect.php?id=&#39;+srow;</p>
<p>}</p>
<p>return myUrl;</p>
<p>}</p>
</p>
</div>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 16 Apr 2014 12:56:44 +0300</pubDate>
        </item>
        <item>
        	<title>ksbigfoot on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30501</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30501</guid>
        	        	<description><![CDATA[<p>When I add the function into the dataUrl, I am getting a 404 - File or directory not found.&#160; The URL is showing as: <a href="http://localhost/function(rowid,%20value,%20name)%20%7B%20return%20&#039;categorySelect.php?id=&#039;+rowid;%20" rel="nofollow" target="_blank"><a href="http://localhost/function(rowi" rel="nofollow">http://localhost/function(rowi</a>.....+rowid;%20</a>}</p>
<p>Here is the code I am using:</p>
<p>{name:&#39;CATNAME2&#39;,index:&#39;CATNAME2&#39;, width:80,align:&#39;right&#39;, sortable:false, editable:true, editrules:{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; required:true, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; edithidden:true<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, hidden:true,<br />&#160;&#160;&#160;&#160;&#160;&#160; formatter: &#39;select&#39;, edittype: &#39;select&#39;, editoptions: {<br />&#160;&#160;&#160;&#160;&#160;&#160; multiple:true, <br />&#160;&#160;&#160;&#160;&#160;&#160; size:5, <br />&#160;&#160;&#160;&#160;&#160;&#160; dataUrl : function(rowid, value, name) { return &#39;categorySelect.php?id=&#39;+rowid; }&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;}},</p>
</p>
<p>Do you see what I am doing wrong?</p>
]]></description>
        	        	<pubDate>Tue, 15 Apr 2014 23:50:14 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30372</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30372</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>dataUrl property can be a function. To this function we pass the id and value</p>
</p>
<p>try this</p>
<p><input type='button' class='sfcodeselect' name='sfselectit272' value='Select Code' data-codeid='sfcode272' /></p>
<div class='sfcode' id='sfcode272'>
<p>colModel : [</p>
<p>..</p>
<p>{</p>
<p>name:&#39;name&#39;,...</p>
<p>dataUrl : function(rowid, value, name) { return &#39;myscript.php?id=&#39;+rowid; }</p>
<p>..</p>
<p>},</p>
<p>...</p>
<p>]</p>
</div>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 19 Mar 2014 12:14:30 +0200</pubDate>
        </item>
        <item>
        	<title>ksbigfoot on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30367</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30367</guid>
        	        	<description><![CDATA[<p>My question now is I am trying to pass the unique identifier to the categorySelect.php page.&#160; Does anyone know how I would pass the unique identifier of the row that was selected OR attach it to my dataURL?</p>
<p>EG.) dataUrl: "categorySelect.php?id=23432"</p>
]]></description>
        	        	<pubDate>Mon, 17 Mar 2014 21:03:55 +0200</pubDate>
        </item>
        <item>
        	<title>ksbigfoot on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30366</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30366</guid>
        	        	<description><![CDATA[<p>Solved:&#160; I added an extra column that was passed in containing the string.&#160; The other column is the editable column that isn&#39;t displayed.</p>
<p>{name:&#39;CATNAME&#39;,index:&#39;CATNAME&#39;, width:80,align:&#39;right&#39;, sortable:false, editable:false},<br />{name:&#39;CATNAME2&#39;,index:&#39;CATNAME2&#39;, width:80,align:&#39;right&#39;, sortable:false, editable:true, editrules:{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; required:true,&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;edithidden:true<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;},</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;hidden:true,<br />&#160;&#160;&#160;&#160;&#160;&#160; formatter: &#39;select&#39;, edittype: &#39;select&#39;, editoptions: {<br />&#160;&#160;&#160;&#160;&#160;&#160; multiple:true, <br />&#160;&#160;&#160;&#160;&#160;&#160; size:5, <br />&#160;&#160;&#160;&#160;&#160;&#160; dataUrl: "categorySelect.php"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;}},</p>
]]></description>
        	        	<pubDate>Mon, 17 Mar 2014 16:51:03 +0200</pubDate>
        </item>
        <item>
        	<title>ksbigfoot on How to display data in grid cell for a multiselect combobox?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30336</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-data-in-grid-cell-for-a-multiselect-combobox#p30336</guid>
        	        	<description><![CDATA[<p>In my index.html file:</p>
<p>jQuery(document).ready(function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var $mygrid= jQuery("#list").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="&#39;getData.php&#39;" target="_blank">url:&#39;getData.php&#39;</a>,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl: &#39;editData.php&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;ID&#39;,&#39;COL1&#39;, &#39;COL2&#39;, &#39;CATEGORY&#39;,&#39;USER&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;ID&#39;,index:&#39;ID&#39;, width:70, resizable:false, editable:false,edittype:&#39;text&#39;,formatter:&#39;showlink&#39;,formatoptions:{target:"_new", baseLinkUrl:&#39;displayLink.php&#39;}},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;COL1&#39;,index:&#39;COL1&#39;, width:90,resizable:false, sortable:true, editable:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;COL2&#39;,index:&#39;COL2&#39;, width:90,resizable:false, sortable:true, editable:true},<br />&#160;&#160; {name:&#39;CATNAME&#39;,index:&#39;CATNAME&#39;, width:80,align:&#39;right&#39;, sortable:true, editable:false},<br />&#160;&#160; {name:&#39;USER&#39;,index:&#39;USER&#39;, width:80,align:&#39;right&#39;, sortable:true, editable:false} ],<br />&#160;&#160; pager: &#39;#pager&#39;,<br />&#160;&#160; rowNum:30,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //rowList:[10,20,30,50],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;ID&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "Asc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 1200,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: &#39;100%&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; toolbar: [true,"top"],<br />&#160;&#160; caption: "My Admin Screen"</p>
<p>&#160;&#160;&#160; });</p>
<p>In my getData.php file, I return the data in xml:<br />echo "&#60;cell&#62;". $row[&#39;CATNAME&#39;]."&#60;/cell&#62;";</p>
<p>CATNAME is a comma delimited list like "Balance, Base, Foundation"</p>
<p>In index.html, the data will display if I declare the row like above example, but I want the CATNAME field to be editable.<br />The CATNAME field should be a multiselect combobox.</p>
<p>If I set the field to be like this, it doesn&#39;t display anything in the row cell of the index.html file:</p>
<p>{name:&#39;CATNAME&#39;,index:&#39;CATNAME&#39;, width:80,align:&#39;right&#39;, sortable:false, editable:true,<br />&#160; formatter: &#39;select&#39;, edittype: &#39;select&#39;, editoptions: {multiple:true, size:5, dataUrl: &#39;categorySelect.php&#39;}},</p>
<p>The categorySelect.php file only returns basic select:<br />&#60;select&#62; <br />&#60;option value=&#39;1&#39;&#62;Balance&#60;/option&#62; <br />&#60;option value=&#39;2&#39;&#62;Base&#60;/option&#62;<br />&#60;option value=&#39;3&#39;&#62;Foundation&#60;/option&#62;<br />&#60;/select&#62;</p>
<p>How do I display the data "Balance, Base, Foundation" in the CATNAME field in the row of the index.html page ?</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Wed, 05 Mar 2014 17:38:10 +0200</pubDate>
        </item>
</channel>
</rss>