<?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: Grid reloads on filtering</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-reloads-on-filtering</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/grid-reloads-on-filtering/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>aexon on Grid reloads on filtering</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-reloads-on-filtering#p26413</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-reloads-on-filtering#p26413</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have the filterToolbar enabled and my grid (loadonce: true) has checkboxes (not via multiselect option, but manually added with html) rendered in one column. The basic idea is, that the user locally filters to see just a subset of a huge result. Then he/she selects some of the rows by clicking the checkboxes. Then he/she filters again resulting in another subset of the result and selecting more elements and so on. Then he/she can sumbit the grid to send selected values to the server.</p>
</p>
<p>The problem I am faced with is that everytime the user interacts with the filter elements (searchOnEnter: false, and there is a custom button that triggers clearToolbar), the whole grid gets reloaded by reloadGrid resulting in all checkboxes beeing deselected. This happens in triggerToolbar and clearToolbar of jqGrid.</p>
</p>
<p>Is there a way out of the box to reload the grid (which, if I understand right, is internally needed to apply the filters) having the status of the checkboxes preserved? Or do I need to handle it manually with some JavaScript?</p>
</p>
<p>I migrated from 3.6.2 to 4.2.0 some time ago and with 3.6.2 multiselect was not an option for me that time as there was too much JS stuff going on, which was not compatible with the way we needed to configure jqGrid. But maybe NOW this is another option?!</p>
</p>
<p>My version of jqGrid is 4.2.0.</p>
</p>
<p>Thanks in advance</p>
</p>
<p>Kai</p>
</p>
<p>Edit: The same happens on (local) sorting the data.</p>
<p>Edit2: Just for testing I enabled the multiselect option as well and checked checkboxes loose their status on filtering (local, server side not tested) and sorting. Is this a feature? 🙂</p>
]]></description>
        	        	<pubDate>Thu, 19 Apr 2012 09:11:49 +0300</pubDate>
        </item>
</channel>
</rss>