<?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: Missing example on demo page - scrolling load data</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data</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/feature-request/missing-example-on-demo-page-scrolling-load-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10663</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10663</guid>
        	        	<description><![CDATA[<p>Mark,</p>
<p>Thanks.</p>
<p>No, sortable rows work just fine  with one call to UI sortable.</p>
<p>The problem was for drag and drop a row from one grid to other - The jqUery UI does not accept this.</p>
<p>More here: <a href="http://dev.jqueryui.com/ticket/2405" rel="nofollow" target="_blank">http://dev.jqueryui.com/ticket/2405</a></p>
<p>Thanks</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 12 Oct 2009 12:04:37 +0300</pubDate>
        </item>
        <item>
        	<title>markw65 on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10659</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10659</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>No problem - the "true" vs 1 is a little odd.</p>
</p>
<p>My logic was that I didnt want to change the behavior of existing scroll=true grids (except to make the scrolling work better). For grids of up to a few hundred rows, its probably better to just keep everything loaded.</p>
</p>
<p>And also, I could use eg scroll=n to limit the number of loaded pages - I just hadnt got around to doing it.</p>
</p>
<p>Just curious - is your sortableRows built on top of sortable? Or is there some fundamental problem with sortable and table rows?</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Mon, 12 Oct 2009 11:46:24 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10645</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10645</guid>
        	        	<description><![CDATA[<p>Mark,</p>
<p>I really missed to check with scroll=1. Must shame, instead that is written by you so clear. <img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /></p>
<p>It is going good for now. I will make tests for this, since I need this too.</p>
<p>Now I will go to look deep into what you have do.</p>
<p>Also some other good news &#8211; I have prepared sortableRows and drag and drop table rows between two grids (instead that jquery ui does not support this for tables) I need a more tests before pushing this into the Git.</p>
</p>
<p>Thanks</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 12 Oct 2009 10:13:08 +0300</pubDate>
        </item>
        <item>
        	<title>markw65 on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10644</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10644</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>Thanks &#8211; I&#39;ll fix the addXMLData parameter.</p>
</p>
<p>I think the changes you suggest to enable you to explicitly position the scroll bar should be pretty easy to add on top of my changes.</p>
</p>
<p>If you set scroll=1 (rather than true), then it already swaps rows in and out to keep just the needed rows in the DOM. Grab the scrollbar, and scroll down. The display in bottom right will show you &#8220;view &#8211; 5301-5330 of 15000&#8243; for example.</p>
</p>
<p>The algorithm right now is: if more rows are needed at the bottom of the grid, but some of the loaded rows are visible, then append some pages. Otherwise, empty the grid, and just fetch enough pages to cover the visible region.</p>
</p>
<p>So, if you scroll down slowly enough, you /can/ get all the rows in the DOM, even with scroll=1. But generally, that wont happen (I&#39;ve been using this for a few days in my own grid). I should probably tweak the algorithm to additionally throw away rows when you go over some specified threshold.</p>
</p>
<p>Also, scrolling backwards is less efficient than scrolling forwards, because it always fetches everything it needs. I need to make some changes to addXmlData and addJSONData to handle inserting new rows ahead of existing ones&#8230;</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Mon, 12 Oct 2009 09:32:00 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10641</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10641</guid>
        	        	<description><![CDATA[<p>Mark,</p>
<p>As usual very good work.</p>
<p>I&#39;m littlÐµ divided about what to do.</p>
<p>Let me tell my idea (it is not a new one).</p>
<p>In this case may plan is to have a div and wrapper which should act as vertical scrollbar. The hight of the inner div can be calculated depending on the total rows and the height of the outer div should have the height of the grid . This way it will be easy for me to support RTL in all browsers, since not all (like Chrome and Safari support left scroll bar when we have RTL).</p>
<p>But the more common problem IMHO is when we have a relative big data - 10000-15000 rows- the rows still remain into the DOM</p>
<p>(You can just test this if you go into the demo New in 3.5 -&#62; Grid View mode. Set this to have scroll to true and go to the last page - mybrowser tell me that there is not enoght memory)</p>
</p>
<p>I think that we should make this with inteligent rows (page) swaper requesting pages forward and backward, having a relative little data into the DOM.</p>
<p>What do you think about this?</p>
<p>Thank you very much again</p>
<p>Tony.</p>
<p>P.S. By the way there is a bug in addXMLData - you forgot to add a adjust parameter.</p></p>
]]></description>
        	        	<pubDate>Mon, 12 Oct 2009 06:48:14 +0300</pubDate>
        </item>
        <item>
        	<title>markw65 on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10637</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10637</guid>
        	        	<description><![CDATA[<blockquote>
<p>Since this is requested many times &#8211; the plan is to have this in 3.7 release.</p>
</blockquote>
<hr />
<p>Tony,</p>
</p>
<p>Ive been working on this for my project... I just pushed the current implementation to markw65/jqGrid.</p>
</p>
<p>Basically, it extends the behavior of the existing "scroll" option:</p>
<p>&#160;- when scroll is true-ish, the scroll bar reflects the total number of elements, not the number loaded into the grid.</p>
<p>&#160;- when scroll === true, the grid will always hold all the items from the start through to the latest point ever visited (this is basically the old behavior, except for the scrollbar, and some other small fixes).</p>
<p>&#160;- when scroll is set to any other true-ish value (eg 1), the grid will just hold the visible lines, similar to the demo mentioned above.</p>
</p>
<p>I&#39;ve made an optional extension to the server protocol: if you set the npage option in prmNames, then the grid will sometimes request more than one page at a time, using this parameter (if you /dont/ set it, it will just perform multiple gets).</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Sun, 11 Oct 2009 12:07:28 +0300</pubDate>
        </item>
        <item>
        	<title>Toccamonium on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10636</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10636</guid>
        	        	<description><![CDATA[<p>Would be cool, if you could add 2 buttons at the tree grid demo for inserting an new</p>
<p>row at the same level and a button to add a new row one level above. I need a grid</p>
<p>for categories where customers can easily add new rows on different levels, insert</p>
<p>data at once and save everything <img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
]]></description>
        	        	<pubDate>Sun, 11 Oct 2009 10:32:08 +0300</pubDate>
        </item>
        <item>
        	<title>Toccamonium on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10548</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10548</guid>
        	        	<description><![CDATA[<p>Sounds great. Unfortunately we have to start soon with our new project,</p>
<p>so I have to look for another grid, which already fullfill this task.</p>
<p>Nevertheless I will watch your grid development because it saves extra</p>
<p>code against using another framework beside jQuery.</p>
</p>
<p>thx</p>
]]></description>
        	        	<pubDate>Thu, 08 Oct 2009 03:18:24 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10433</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10433</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Since this is requested many times - the plan is to have this in 3.7 release.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 06 Oct 2009 05:40:49 +0300</pubDate>
        </item>
        <item>
        	<title>Toccamonium on Missing example on demo page - scrolling load data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10430</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/missing-example-on-demo-page-scrolling-load-data#p10430</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>According to the forum this issue has been already discussed.</p>
<p>It would be nice to have this kind of example on the demo page,</p>
<p>as it is a common solution if you have many many records.</p>
<p>Here is an example of Ext.JS Livegrid: <a href="http://www.ext-livegrid.com/demo/" rel="nofollow" target="_blank">http://www.ext-livegrid.com/demo/</a></p>
<p>They have 5000 data records and they only load those data into the grid</p>
<p>depending on the scrollbar + a few rows in advance.</p>
<p>@Tony: Would you be so nice, if this kind of technich is really available to</p>
<p>add this onto the example page? Thanks indeed.</p>
</p>
<p>Cheers</p>
<p>TC</p>
]]></description>
        	        	<pubDate>Tue, 06 Oct 2009 04:32:04 +0300</pubDate>
        </item>
</channel>
</rss>