<?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: getRowData and select columns</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns</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/getrowdata-and-select-columns/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Pete on getRowData and select columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10605</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10605</guid>
        	        	<description><![CDATA[<p>The version from Git hub that was available on September 27th.&#160; I don&#39;t see a text file that tracks the versioning that is current in Git Hub.&#160; It is a 3.5.x version though.&#160; The last "packaged" version on your site was 3.5.3 and I have pulled the latest version from Git Hub since then.</p>
]]></description>
        	        	<pubDate>Fri, 09 Oct 2009 11:37:42 +0300</pubDate>
        </item>
        <item>
        	<title>tony on getRowData and select columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10590</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10590</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version do you use?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 09 Oct 2009 04:17:26 +0300</pubDate>
        </item>
        <item>
        	<title>Pete on getRowData and select columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10573</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10573</guid>
        	        	<description><![CDATA[<p>Actually, I DO have formatter:&#39;select&#39; on each column of the colModel for the grid but when I use the getRowData method passing the rowid that I need, I get HTML rather than just the selected values in the cells.&#160; I pulled jqgrid from Github on September 27th.&#160; Has there been an update or fix since then?</p>
<p>colModel looks like this:</p>
<p>&#160; colModel:[<br />&#160;&#160; {name:&#39;positionLocation&#39;,index:&#39;positionLocation&#39;, width:100, editable:true,edittype:"select",formatter:&#39;select&#39;,editoptions:colLocations},<br />&#160;&#160; {name:&#39;criteria1&#39;,index:&#39;criteria1&#39;, width:100, editable:true,edittype:"select",formatter:&#39;select&#39;,editoptions:column1Values},<br />&#160;&#160; {name:&#39;criteria2&#39;,index:&#39;criteria2&#39;, width:100, editable:true,edittype:"select",formatter:&#39;select&#39;,editoptions:column2Values},<br />&#160;&#160; {name:&#39;criteria3&#39;,index:&#39;criteria3&#39;, width:100, editable:true,edittype:"select",formatter:&#39;select&#39;,editoptions:column3Values},<br />&#160;&#160; {name:&#39;criteria4&#39;,index:&#39;criteria4&#39;, width:100, editable:true,edittype:"select",formatter:&#39;select&#39;,editoptions:column4Values},<br />&#160;&#160; {name:&#39;criteria5&#39;,index:&#39;criteria5&#39;, width:100, editable:true,edittype:"select",formatter:&#39;select&#39;,editoptions:column5Values}, <br />&#160;&#160; {name:&#39;gradeMin&#39;,index:&#39;gradeMin&#39;, width:100, editable:true,edittype:"select",formatter:&#39;select&#39;,editoptions:columnGradeValues},<br />&#160;&#160; {name:&#39;gradeMax&#39;,index:&#39;gradeMax&#39;, width:100, editable:true,edittype:"select",formatter:&#39;select&#39;,editoptions:columnGradeValues}<br />&#160;&#160; ],</p>
<p>When I call getRowData it returns an object that has each column in it and the column values are the HTML select strings, not just the value of each selected column.</p>
</p>
<p>Maybe I missed something but I don&#39;t see it in the code here.</p>
</p>
<p>Thanks,</p>
</p>
<p>Pete</p></p>
]]></description>
        	        	<pubDate>Thu, 08 Oct 2009 17:21:34 +0300</pubDate>
        </item>
        <item>
        	<title>tony on getRowData and select columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10370</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10370</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Use formatter:&#39;select&#39; and you will have what you want.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 03 Oct 2009 03:36:46 +0300</pubDate>
        </item>
        <item>
        	<title>Pete on getRowData and select columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10307</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getrowdata-and-select-columns#p10307</guid>
        	        	<description><![CDATA[<p>There have been a few posts about this and since I have run up against the same problem I&#39;d like encourge a more permanent solution.</p>
<p>The problem is that when you call getRowData on a row that that has "select" columns, you get the full html returned rather than *just* the values the the select columns have selected.&#160; So my first question is: Is there a better way to retrieve the actual values from a row containing select colums?&#160; This is an inline editing model and in order to save the record, I need to have both the original values of the row and the changed values.&#160; I get the original values with getGridParam(&#39;savedRow&#39;) and I&#39;d like to be able to call something that produces the same fomatted output for the current row [ something like getGridParam(&#39;curentRow&#39;) would be great!]</p>
<p>I tried to walk through the getRowData code and fully understand what it was doing so that I could create something like a getRowValues method that would just return the values in each cell rather than all the HTML for the selects but my javascript skills are poor enough that I wasn&#39;t successful.</p>
<p>I have a hack that I use at the moment to work around the differences, but it is pretty fragile and won&#39;t work in all situations.</p>
<p>Is there a better way to retrieve just the values of the cells in the row?&#160; I have 7 columns, all selects, that are in this grid and I need the individual values because the 7 columns represent the key to the record, which I need to retrieve and update the table. Again, getGridParam(&#39;savedRow&#39;) does just what I want for the original row, I need the exact same value returned for the *current* row. I need a "generic" solution since I have many grids that have to be maintained in the same way.</p>
<p>Thanks,</p>
<p>Pete</p></p>
]]></description>
        	        	<pubDate>Thu, 01 Oct 2009 14:30:22 +0300</pubDate>
        </item>
</channel>
</rss>