<?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 add style to a column</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column</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-add-style-to-a-column/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p5612</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p5612</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The answer is just above and in this forum. You just need to read and use find button in the forum. This topic is discussed many times.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 26 Mar 2009 02:55:34 +0200</pubDate>
        </item>
        <item>
        	<title>MiB on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p5562</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p5562</guid>
        	        	<description><![CDATA[<p>Tony, I am waiting for ur answer :/</p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 06:20:02 +0200</pubDate>
        </item>
        <item>
        	<title>MiB on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p5534</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p5534</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>How can i add custom id, class to table and rows. How can i creat it with JSON?</p>
<p>"while($row = mysql_fetch_array($result,MYSQL_ASSOC)) {&#160;&#160; $responce-&#38;gt;rows[$i][&#39;id&#39;]=$row[id];     $responce-&#38;gt;rows[$i][&#39;cell&#39;]=array($row[id],$row[invdate],$row[name],$row[amount],$row[tax],$row[total],$row[note]);     $i++; }"</p>
<p>$responce-&#38;gt;rows[$i][&#39;class&#39;] = ?</p>
<p>array(array($data, &#39;id&#39; =&#62;&#39;rowid&#39;, &#39;class&#39; =&#62; &#39;rowclass&#39;)), $row[invdate],$row[name]</p>
<p>Or, do i have to convert a html table, but how can i add after it custom function like cell edit, tablsesorter, etc.</p>
<p>THX!</p></p>
]]></description>
        	        	<pubDate>Mon, 23 Mar 2009 14:59:23 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2878</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2878</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The reason for this is that the properties are applied to the</p>
<p>th element and not to div element which is whitin th.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 04 Nov 2008 02:20:54 +0200</pubDate>
        </item>
        <item>
        	<title>frap on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2872</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2872</guid>
        	        	<description><![CDATA[<p>Thanks Tony.</p>
</p>
<p>I was actually expecting&#160;something&#160;like&#160;the&#160;colModel structure for the labels, hence&#160;I didn&#39;t look at the&#160;methods&#160;thoroughly.</p>
<p>However, still isn&#39;t what I expected&#8230;</p>
<p><a href="http://img208.imageshack.us/img208/6417/gridei1.th.jpg"><img src="http://img208.imageshack.us/img208/6417/gridei1.th.jpg" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>full size image: <a href="http://img208.imageshack.us/img208/6417/gridei1.jpg" rel="nofollow" target="_blank"><a href="http://img208.imageshack.us/im" rel="nofollow">http://img208.imageshack.us/im</a>.....ridei1.jpg</a>[Image Can Not Be Found]</p>
</p>
<p>&#39;Points&#39; column is right aligned and &#39;Villages&#39; should&#160;be centered.</p>
<p>I&#160;think&#160;the width&#160;of&#160;the control for&#160;resizing&#160;the&#160;windows isn&#39;t taken into acount for centering, while for right aligning&#8230; hmm&#8230;</p>
<p>But I guess I can live with this <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p></p>
]]></description>
        	        	<pubDate>Mon, 03 Nov 2008 03:41:23 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2867</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2867</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I recomend first to read the docs. You can use <strong>setLabel</strong>&#160; method for</p>
<p>this purpose. There is example in the example page</p>
<p>Regards</p>
<p>TOny</p>
]]></description>
        	        	<pubDate>Sun, 02 Nov 2008 06:59:07 +0200</pubDate>
        </item>
        <item>
        	<title>frap on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2863</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2863</guid>
        	        	<description><![CDATA[<p>Although I didn&#39;t got this to work, I don&#39;t think it can be just a simple css tweak. My skills are realy limited, however I could identify where in the grid.css the table headings (all of them) are aligned and just changed it.</p>
<p>The result wasn&#39;t pretty though, as jqGrid reserves space on the heading for the sorting controls so that have to be accounted for... eg perhaps they should revert to the left if right alignment is chosen... And centering the&#160;headings looked&#160;plain ugly (and&#160;not centered with regards to the column&#160;borders...)</p></p>
]]></description>
        	        	<pubDate>Sun, 02 Nov 2008 04:27:39 +0200</pubDate>
        </item>
        <item>
        	<title>donb on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2859</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2859</guid>
        	        	<description><![CDATA[<blockquote>
<p>frap said:</p>
<p>How would one style column headings?</p>
<p>Say, if I&#39;d like a heading to appear right aligned instead of left&#8230;</p>
</blockquote>
<hr />
<p>Looks like &#60;div id=&#39;jqg_&#60;colname&#39;&#62; for all headings, so define styles accordingly and that should do it. (where &#60;colname&#62; is the name in the column definitions&#160;for the grid.</p>
]]></description>
        	        	<pubDate>Sat, 01 Nov 2008 15:22:11 +0200</pubDate>
        </item>
        <item>
        	<title>frap on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2858</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2858</guid>
        	        	<description><![CDATA[<p>How would one style column headings?</p>
<p>Say, if I&#39;d like a heading to appear right aligned instead of left&#8230;</p>
]]></description>
        	        	<pubDate>Sat, 01 Nov 2008 13:56:39 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2746</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2746</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes this is IMHO the right way. Do not forget to enclose this in</p>
<p>CDATA section. See examples.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 29 Oct 2008 02:26:09 +0200</pubDate>
        </item>
        <item>
        	<title>diptendu on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2693</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2693</guid>
        	        	<description><![CDATA[<p>Helllo,</p>
<p>Is it possible to handle this by generating the XML data with the</p>
<p>inline style information which will override the default from "grid.css"</p>
<p>&#60;cell &#62;&#160; &#60;div &#62;&#160; data1 &#160; style=" ... " &#60;/div&#62;&#160; &#60;/cell&#62;</p>
<p>&#60;cell&#62;&#160;&#160; &#60;div&#62;&#160; data2&#160;&#160;&#160; style=" ..same style .." &#60;/div&#62;&#160; &#60;/cell&#62;</p>
</p>
<p>Regards.</p>
]]></description>
        	        	<pubDate>Sat, 25 Oct 2008 07:32:04 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2690</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2690</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>Use afterInsertRow (or loadComlete) with setCell method . With setCell method you can set a class.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 25 Oct 2008 07:00:07 +0300</pubDate>
        </item>
        <item>
        	<title>diptendu on How to add style to a column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2689</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-add-style-to-a-column#p2689</guid>
        	        	<description><![CDATA[<p>Helllo,</p>
</p>
<p>How can I add a style (cell back ground colour, font, etc.) to a column ?</p>
<p>The Column Model does not have any attribute for style.</p>
</p>
<p>Regards.</p>
]]></description>
        	        	<pubDate>Sat, 25 Oct 2008 06:57:59 +0300</pubDate>
        </item>
</channel>
</rss>