<?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: Select row but apply ui_state_hilight to cells, not whole row</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/select-row-but-apply-ui_state_hilight-to-cells-not-whole-row</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/select-row-but-apply-ui_state_hilight-to-cells-not-whole-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Select row but apply ui_state_hilight to cells, not whole row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-row-but-apply-ui_state_hilight-to-cells-not-whole-row#p21442</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-row-but-apply-ui_state_hilight-to-cells-not-whole-row#p21442</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You can disable the build in hovering of rows with:</p>
<p>hoverrows : false and write your own procedure after the grid is created something like this</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6680' value='Select Code' data-codeid='sfcode6680' /></p>
<div class='sfcode' id='sfcode6680'>
<p>&#160;&#160; &#160;&#160;&#160;&#160; $("#grid").bind(&#39;mouseover&#39;,function(e) {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /// the current row is determined like this</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ptr = $(e.target).closest("tr.jqgrow");</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /// do somethuing hover the cell<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; return false;<br />&#160;&#160; &#160;&#160;&#160; &#160;}).bind(&#39;mouseout&#39;,function(e) {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /// do other things<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; return false;<br />&#160;&#160; &#160;&#160;&#160; &#160;});</p>
</div>
<p>Regards</p>
]]></description>
        	        	<pubDate>Sun, 26 Dec 2010 15:16:01 +0200</pubDate>
        </item>
        <item>
        	<title>themoose on Select row but apply ui_state_hilight to cells, not whole row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-row-but-apply-ui_state_hilight-to-cells-not-whole-row#p21385</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-row-but-apply-ui_state_hilight-to-cells-not-whole-row#p21385</guid>
        	        	<description><![CDATA[<div class="comment_body entry-content">
<p>I would like to use jQuery UI icons as action buttons in the last column of my grid. I have a column formatter making a div and a load of spans with ui-state-default, ui-icon classes etc.</p>
<p>Thing is, when the user selects a row, my icons get highlighted too.</p>
<p>I was wondering if there is any way I could hook into an event so that I can write my own selection routine?</p>
<p>I think I want to apply ui-state-highlight on a per-cell basis so that I can miss out my &#8220;Actions&#8221; cell. That is I _do_ want the row to be selected, I just want to control how it looks.</p>
<p>Yes, I can just use "standard buttons" - I am using them at the moment.&#160; But they look kinda rubbish compared with all the jQuery UI stuff that surrounds them.</p>
<p>Of course there may be _another_ way to achieve what I want.</p>
</div>
]]></description>
        	        	<pubDate>Wed, 22 Dec 2010 20:50:16 +0200</pubDate>
        </item>
</channel>
</rss>