<?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: Formatting column headers</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers</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/formatting-column-headers/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>steve_o on Formatting column headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28862</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28862</guid>
        	        	<description><![CDATA[<blockquote>
<p>Ok. It seems the docs are not clear ( I have fixed this). With colName we mean name from colModel.</p>
<p>The method can be put in loadComplete or it will work after the grid is created an put it wher you want.</p>
</p>
<p>Note that this method work for the label of the grid header and not for the rows.</p>
</p>
</blockquote>
<hr />
<p>Thank you for clarifying things in the docs &#38; eliminating some of the (bad) guesswork on my part!</p>
]]></description>
        	        	<pubDate>Wed, 22 May 2013 20:21:13 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Formatting column headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28860</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28860</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Ok. It seems the docs are not clear ( I have fixed this). With colName we mean name from colModel.</p>
<p>The method can be put in loadComplete or it will work after the grid is created an put it wher you want.</p>
</p>
<p>Note that this method work for the label of the grid header and not for the rows.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 22 May 2013 19:26:03 +0300</pubDate>
        </item>
        <item>
        	<title>steve_o on Formatting column headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28857</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28857</guid>
        	        	<description><![CDATA[<blockquote>
<p>I mean the same method. But, why do you not try it?</p>
<p>Trying this will lost you a minute and is not painful <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_wink.gif" alt=";-)" /></p>
</p>
</blockquote>
<hr />
<p>I&#39;m not objecting to trying it - in fact, I already have. &#160;Without an example of how it can be used, I&#39;m just guessing. &#160;</p>
</p>
<p>I&#39;ve tried:</p>
<blockquote>
<p>$("#myGrid").setLabel("Destination","Destination",{"font":"bold"});</p>
<p>$("#myGrid").setLabel("Send Time","Send Time",{"font":"bold"});</p>
</p>
</blockquote>
<p>but it bolds the first one (in IE only) &#38; doesn&#39;t bold the second one. &#160;In firefox, <span style="text-decoration: underline;">none</span> are bold.</p>
</p>
<p>I have this in the <strong>loadComplete</strong>&#160;event function, where I alternate the colors of the rows (which sort of works - even though I have "odd" selected, row # 2,4,6,8 are the ones that are numbered).</p>
</p>
<p>Using jqGrid 4.5.2 also.</p>
<p>Does <strong>colname</strong> in the<strong> setLabel</strong> method need to match what is specified in the <strong>colNames</strong> array? Or does it need to match the <strong>name</strong> field in the <strong>colModel</strong> array? &#160;</p>
<p>Can it be in the <strong>loadComplete</strong> event, or should it reside elsewhere? &#160;</p>
</p>
<p>My apologies for being thick. &#160;</p>
<p>Thanks!</p></p>
]]></description>
        	        	<pubDate>Wed, 22 May 2013 18:33:45 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Formatting column headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28855</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28855</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I mean the same method. But, why do you not try it?</p>
<p>Trying this will lost you a minute and is not painful <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_wink.gif" alt=";-)" /></p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 22 May 2013 18:05:52 +0300</pubDate>
        </item>
        <item>
        	<title>steve_o on Formatting column headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28854</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28854</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
</p>
<p>I recommend you to look at documentaion - jqGrid methods.</p>
<p>There is a special method for this purpose.</p>
</p>
<p>Regards</p>
</blockquote>
<hr />
<p>Thank you Tony. &#160;BTW - great product. &#160;Slick &#38; fast.</p>
</p>
<p>The method you refer to - is it the <strong>setLabel</strong> method? &#160;(That is what I meant to put in my initial post). If so, I haven&#39;t (yet) found examples of setting it (syntax required, etc). &#160;</p>
</p>
<p>If not, which method are you referring to?</p>
]]></description>
        	        	<pubDate>Wed, 22 May 2013 16:39:53 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Formatting column headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28845</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28845</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I recommend you to look at documentaion - jqGrid methods.</p>
<p>There is a special method for this purpose.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 22 May 2013 08:51:21 +0300</pubDate>
        </item>
        <item>
        	<title>TronGrid on Formatting column headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28844</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28844</guid>
        	        	<description><![CDATA[<p>Just paste the following in your CSS:</p>
</p>
<p>#YOUR-TABLE-ID {</p>
<p>font: 1.2em Arial,Tahoma,Serif;</p>
<p>}</p>
</p>
<p>th{</p>
<p>font-size: 16px &#160;Arial,Tahoma,Serif;</p>
<p>}</p></p>
]]></description>
        	        	<pubDate>Wed, 22 May 2013 03:06:19 +0300</pubDate>
        </item>
        <item>
        	<title>steve_o on Formatting column headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28843</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatting-column-headers#p28843</guid>
        	        	<description><![CDATA[<p>Can the column headers be formatted, i.e. using a different font, font size, or by <strong>bold</strong>facing the font?</p>
<p>If so, how? &#160;I thought setCols might do it, but I don&#39;t believe it will. &#160;</p>
</p>
<p>The jqGrid I have is a static grid (no sorting).</p>
]]></description>
        	        	<pubDate>Tue, 21 May 2013 23:24:35 +0300</pubDate>
        </item>
</channel>
</rss>