<?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: Column highlight</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/column-highlight</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/column-highlight/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ulysses on Column highlight</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-highlight#p22425</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-highlight#p22425</guid>
        	        	<description><![CDATA[<p>Thanks for you code OlegK, is a great code. I read your code and test the demo, this is de feature what i need!. Now i implement the code in my application, to continue work with jqgrid. Is posible add this featurea as an extension? and fire an event onColSelect?</p>
</p>
<p>Ulysses</p>
]]></description>
        	        	<pubDate>Tue, 15 Mar 2011 13:38:11 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Column highlight</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-highlight#p22413</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-highlight#p22413</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I find you question intresting and inplemented the corresponding solution which you can see live <a href="http://www.ok-soft-gmbh.com/jqGrid/SelectColumn1.htm" target="_blank">here</a>. In the demo I follow the same way as in the current version of jqGrid and allow deselect the column if one selects it twice. So the behavior is the same like with rows. If you need another behavior you can easy modify my code.</p>
<p>The main parts of the code is following:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8798' value='Select Code' data-codeid='sfcode8798' /></p>
<div class='sfcode' id='sfcode8798'>var grid = $(&#39;#list&#39;), selColumn;<br />grid.jqGrid({<br />&#160;&#160; &#160;// &#8230; all parameters which you need<br />&#160;&#160; &#160;onCellSelect: function (rowid,iCol) {<br />&#160;&#160; &#160; &#160; &#160;var i, rows = this.rows, rl = rows.length, row, rowCells;</p>
<p>&#160;&#160; &#160; &#160; &#160;for(i=0; i&#60;rl; i++) {<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;row = rows[i];<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;if($(row).hasClass(&#39;jqgrow&#39;)) {<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;rowCells = row.cells;<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if (typeof selColumn !== &#34;undefined&#34;) {<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$(rowCells[selColumn]).removeClass(&#34;ui-state-highlight&#34;);<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if (selColumn !== iCol) {<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$(rowCells[iCol]).addClass(&#34;ui-state-highlight&#34;);<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160;}<br />&#160;&#160; &#160; &#160; &#160;}<br />&#160;&#160; &#160; &#160; &#160;selColumn = selColumn !== iCol? iCol: undefined;<br />&#160;&#160; &#160;}<br />});&#160;</p>
</div>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Tue, 15 Mar 2011 00:00:58 +0200</pubDate>
        </item>
        <item>
        	<title>ulysses on Column highlight</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-highlight#p22411</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-highlight#p22411</guid>
        	        	<description><![CDATA[<p>Is posible highlight a comlete column, when a cell is selected? I see when onCellSelect event, the row is highlight, but y need highlight a column.</p>
</p>
<p>I think use onCellSelect, and use de iCol attr to chage de css.</p>
</p>
<p>Is a good feature too, fire an event "onColSelect"</p>
]]></description>
        	        	<pubDate>Mon, 14 Mar 2011 19:19:52 +0200</pubDate>
        </item>
</channel>
</rss>