<?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: multi select with shift key</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/multi-select-with-shift-key</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/discussion/multi-select-with-shift-key/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ajibrans on multi select with shift key</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/multi-select-with-shift-key#p23201</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/multi-select-with-shift-key#p23201</guid>
        	        	<description><![CDATA[<p>sorry, maybe I&#39;m not too clear in explaining the expected behaviour.</p>
</p>
<p>what I&#39;d like to implement is the shift key in which we can select multiple rows (in sequence) in one click.</p>
<p>e.g., first we select row 2, then with shift key pressed, when we select row 6, row 2 - 6 will be selected all at once. (like selecting rows in ms excel)</p>
</p>
<p>At first I thought the same, the multikey: "shiftKey" would do such behaviour. apparently it is not. With that, the selection only works with the shift key otherwise it does not do the selection.</p>
</p>
<p>That is why I think, we can hook the custom implementation in &#39;beforeSelectRow&#39; event. unfortunately on that method, there&#39;s no iRow parameter given. Without that, as far as i can tell, we could not do the calculation to select multiple rows all at once based on the previous selected row.</p>
<p>I&#39;ve tried to modify the source in grid.base.js to pass the &#39;iRow&#39; on beforeSelectRow() method. and it works. However i&#39;d like to know is there any idea, how to do that without changing the source code of jgqrid library?</p>
</p>
<p>thanks,</p>
<p>jibran</p></p>
]]></description>
        	        	<pubDate>Mon, 16 May 2011 12:19:46 +0300</pubDate>
        </item>
        <item>
        	<title>kobruleht on multi select with shift key</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/multi-select-with-shift-key#p23198</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/multi-select-with-shift-key#p23198</guid>
        	        	<description><![CDATA[<p>use&#160;</p>
</p>
<p>multikey: "shiftKey",<span id="_marker">&#160;</span></p>
<p><span>&#160;</span></p>
<p><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;">Note that there is a bug in jqGrid which causes all checkboxes to be selected on click if this option is present.</span></span></p>
]]></description>
        	        	<pubDate>Mon, 16 May 2011 11:25:44 +0300</pubDate>
        </item>
        <item>
        	<title>ajibrans on multi select with shift key</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/multi-select-with-shift-key#p23017</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/multi-select-with-shift-key#p23017</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;d like to implement the shift key support on multi selection on jqgrid (excel-like grid). As far as i know, it&#39;s not directly supported by the current version.</p>
<p>What i&#39;ve had in mind is to employ the beforeSelectRow(rowid, e) event. But i&#39;m just wondering why the iRow (index of the row)&#160; is not passed as parameter as well. I suppose with the iRow in place, we can highlight the multiselection from last checked row until current checked row (with shift key).</p>
</p>
<p>or is there any better way to implement the shift key support on multi selection?</p>
</p>
<p>thanks,</p>
<p>jibran</p>
]]></description>
        	        	<pubDate>Wed, 04 May 2011 15:19:47 +0300</pubDate>
        </item>
</channel>
</rss>