<?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 do I set &#60;td attributes in jqGrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-set-td-attributes-in-jqgrid</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-do-i-set-td-attributes-in-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Lonewolf217 on How do I set &#60;td attributes in jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-set-td-attributes-in-jqgrid#p30154</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-set-td-attributes-in-jqgrid#p30154</guid>
        	        	<description><![CDATA[<p>you can add classes to the colModel like this</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1992' value='Select Code' data-codeid='sfcode1992' /></p>
<div class='sfcode' id='sfcode1992'>{name:&#39;computer&#39;,index:&#39;computer&#39;,classes:&#39;class1 class2&#39;}</div>
</p>
<p>i dont think you can directly set the attribute the same way, but you can use a css class to set the same behavior, something like this</p>
<pre class="default prettyprint prettyprinted"><p><input type='button' class='sfcodeselect' name='sfselectit2980' value='Select Code' data-codeid='sfcode2980' /></p><div class='sfcode' id='sfcode2980'><div class=&#34;sfcode&#34;>table td {    display: table-cell;   vertical-align: top;  }</div></div></pre>
<pre class="default prettyprint prettyprinted">Alternatively you can do something like this in loadComplete: ()</pre>
<pre class="default prettyprint prettyprinted"></pre>
<pre class="default prettyprint prettyprinted"><p><input type='button' class='sfcodeselect' name='sfselectit2617' value='Select Code' data-codeid='sfcode2617' /></p><div class='sfcode' id='sfcode2617'>$(&#34;.jqgrow &#62; TD&#34;).prop(&#34;valign&#34;,&#34;top&#34;); // for jquery 1.9 or earlier, use .attr()</div></pre>
]]></description>
        	        	<pubDate>Sat, 25 Jan 2014 00:27:30 +0200</pubDate>
        </item>
        <item>
        	<title>dwschulze on How do I set &#60;td attributes in jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-set-td-attributes-in-jqgrid#p30153</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-set-td-attributes-in-jqgrid#p30153</guid>
        	        	<description><![CDATA[<p>In jqGrid how do I set attributes on table data elements like this:</p>
<p>&#60;td class="label" valign="top"&#62;</p>
</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Fri, 24 Jan 2014 23:53:57 +0200</pubDate>
        </item>
</channel>
</rss>