<?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: inline editing with dynamic scroll - scrolling issues</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/inline-editing-with-dynamic-scroll-scrolling-issues</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/inline-editing-with-dynamic-scroll-scrolling-issues/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dmnc on inline editing with dynamic scroll - scrolling issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/inline-editing-with-dynamic-scroll-scrolling-issues#p28576</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/inline-editing-with-dynamic-scroll-scrolling-issues#p28576</guid>
        	        	<description><![CDATA[<p>I&#39;m using jqGrid with dynamic scrolling and I&#39;d like to use the Inline editing with&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">inlineNav&#160;</span>incl.&#160;Oleg&#39;s&#160;<a href="http://stackoverflow.com/a/8518501/904846" target="_blank">solution</a>&#160;which makes inline editing finaly useful.</p>
</p>
<p>I found dynamic scrolling problematic because not all rows are loaded (and rendered) and Inline editing methods goes wrong when scrolling. To avoid problems, user can&#39;t scroll out:</p>
<ul>
<li>can&#39;t scroll after selecting the row and then using add/edit</li>
<li>can&#39;t scroll even without selecting the row, because with no selection,&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">first&#160;</span>position is applied (3rd video)</li>
<li>can&#39;t scroll while adding/editing a row (one solution may be temporarily disabling the scroller)</li>
</ul>
<p>Links:</p>
<ul>
<li>demo:&#160;<a rel="nofollow" href="http://jsfiddle.net/dmnc_net/tNGJn/" target="_blank">http://jsfiddle.net/dmnc_net/tNGJn/</a></li>
<li>scrolling with&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">beforeSelected</span>:&#160;<a rel="nofollow" href="http://youtu.be/osvwiykcuME" target="_blank">http://youtu.be/osvwiykcuME</a></li>
<li>scrolling with&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">first</span>&#160;and&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">last</span>:&#160;<a rel="nofollow" href="http://youtu.be/Du_TBrlrzSI" target="_blank">http://youtu.be/Du_TBrlrzSI</a></li>
<li>scrolling without clicking any row:&#160;<a rel="nofollow" href="http://youtu.be/pCzpk1SvQNA" target="_blank">http://youtu.be/pCzpk1SvQNA</a></li>
</ul>
<p>I&#39;ve used these addRow position settings:&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">beforeSelected</span>,&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">first</span>&#160;and&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">last</span>;&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">before</span>&#160;and&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">after&#160;</span>are not working at all.</p>
<p>I&#39;m thinking about solve this problem by patching&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">addRow</span>&#160;and&#160;<span style="color: maroon; font-family: monospace, Courier; font-size: 12px;">editRow</span>&#160;methods by telling them scroll position and handling loaded/unloaded "pages" when user has scrolled too far and selected record are unloaded. But I&#39;m not sure if this is possible or it will be better to use modal add/edit dialogs.</p>
<p><span style="color: #808080;"><em>original post <a href="http://stackoverflow.com/q/15700740/904846" target="_blank">here</a>&#160;</em></span></p>
]]></description>
        	        	<pubDate>Wed, 03 Apr 2013 23:52:20 +0300</pubDate>
        </item>
</channel>
</rss>