<?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: selarrow contians to many entries.</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/selarrow-contians-to-many-entries</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/bugs/selarrow-contians-to-many-entries/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jeppe on selarrow contians to many entries.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/selarrow-contians-to-many-entries#p21891</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/selarrow-contians-to-many-entries#p21891</guid>
        	        	<description><![CDATA[<p>initiate a table with local data, multiselect:true.<br /> Make sure you have more than 5 rows.</p>
<p> Select 2 rows</p>
<p>Select all by clicking the header checkbox, the selarrow array now contains e.g. [1,2,1,2,3,4,5] when it only should contain [1,2,3,4,5]</p>
<p>When select all is activated it pushes all row ids into the selarrow array.<br /> The selection now contains all rows AND the initial 2 selected rows.</p>
<p> The problem is that when I use local data and the user used the select all checkbox to select all. <br /> If I then iterate over selarrow array 2 rows will be iterated twice.<br /> Lets say I have a special case delete function, you will get an error message for something that is already deleted.</p>
<p> The bugfix is simple, clear the selarrow before adding/pushing all rows to the array.</p>
<p> regards</p>
<p> /Jesper</p>
]]></description>
        	        	<pubDate>Mon, 31 Jan 2011 09:36:09 +0200</pubDate>
        </item>
</channel>
</rss>