<?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: Concatenate colModel Name</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/concatenate-colmodel-name</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/concatenate-colmodel-name/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>paololayug on Concatenate colModel Name</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/concatenate-colmodel-name#p26508</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/concatenate-colmodel-name#p26508</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Can you please help me on how can I show/concatenate two strings&#160;in one cell? For example, in my name column, I want to display the firstName and lastName of the person. The data will be coming from a JSON.</p>
<p>JSON:</p>
<p>&#160;{"teamlist":[{"<strong>firstName</strong>":"Rotchine","<strong>lastName</strong>":"Canet","resourceID":730,"teamID":897,"teamName":"team 2","usLead":"lead2","usMembers":"member2"}]</p>
</p>
<p>Here is&#160;part of&#160;my code:</p>
<p>&#160;&#160;colModel : [{<br />&#160;&#160;&#160;&#160;&#160;<strong>&#160;&#160;&#160;name : &#39;firstName&#39;,&#160;<br /></strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;index : &#39;firstName&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;width : 55,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;editable:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;edittype:&#39;select&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;editoptions: { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;value:codata<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;}],&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;</p>
<p>I&#39;ve tried &#39;firstName&#39; + &#39;lastName&#39;, but this doesn&#39;t work. Is it possible to concatenate two strings in the colModel name property?</p>
</p>
<p>Kind regards,</p>
<p>Paolo</p>
]]></description>
        	        	<pubDate>Fri, 04 May 2012 04:59:23 +0300</pubDate>
        </item>
</channel>
</rss>