<?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: Problem with virtual paging</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-virtual-paging</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/problem-with-virtual-paging/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>sl_church on Problem with virtual paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-virtual-paging#p26956</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-virtual-paging#p26956</guid>
        	        	<description><![CDATA[<p>I am currently trying to get virtual paging to work. &#160;Normal paging (option scroll: 0) works fine but when I use scroll:&#160;1 to enable virtual paging my grid shows 980 blank lines, &#160;followed by the 20 lines provided by the server. &#160;Is my server not providing the correct format or am I doing something else wrong? &#160;My configuration and sample data is included below.</p>
<p>Thank you in advance,</p>
</p>
<p>Shawn</p>
<p>SAMPLE DATA</p>
<pre>{"page":"1","total":50,"records":1000,</pre>
<pre>"rows":[{"id":1,"cell":[1,"admin","Administrator","admin@example.com",1,</pre>
<pre>"2012-07-17T03:56:58.975Z","2012-07-17T03:56:58.975Z",""]},</pre>
<pre>{"id":1002,"cell":[1002,"test","test","test@test.com",1,</pre>
<pre>"2012-07-17T03:59:35.947Z","2012-07-17T03:59:35.947Z",""]},</pre>
<pre>{"id":2,"cell":[2,"test0","Administrator","admin@example.com",1,</pre>
<pre>"2012-07-17T00:24:55.098Z","2012-07-17T00:24:55.098Z",""]},</pre>
<pre>{"id":3,"cell":[3,"test1","Administrator","admin@example.com",1,</pre>
<pre>"2012-07-17T00:25:07.169Z","2012-07-17T00:25:07.169Z",""]},</pre>
<pre>{"id":117,"cell":[117,"test115","Administrator",</pre>
<pre>... total of 20 rows ...</pre>
<pre>"admin@example.com",1,"2012-07-17T00:25:07.274Z","2012-07-17T00:25:07.274Z",""]}]}</pre>
<pre></pre>
<pre></pre>
<pre>CONFIGURATION</pre>
<blockquote>
<pre>      $("#users").jqGrid({
        url: "users/jqGrid.json",
        editurl: "/users",
        datatype: "json",
        caption: "Users",
        hidegrid: false,
        gridview: false,
        shrinkToFit: true,
        autowidth: true,
        sortname: &#39;user_name&#39;,
        sortorder: "asc",
        loadonce: false,
        scroll: 1,
        rowNum: 20,
        pager: "#pager",
        viewrecords: true,
        colModel: [
          {
            name: &#39;id&#39;,
            label: "Id",
            width: 50,
            align: "center"
          }, {
            name: &#39;user_name&#39;,
            label: "User Name",
            width: 100,
            editable: true,
            editrules: {
              required: true
            },
            editoptions: {
              width: "100%"
            }
          }, {
            name: &#39;display_name&#39;,
            label: "Display Name",
            width: 200,
            editable: true,
            editrules: {
              required: true
            }
          }, {
            name: &#39;email_address&#39;,
            label: "Email Address",
            width: 200,
            editable: true,
            editrules: {
              required: true,
              email: true
            }
          }, {
            name: &#39;admin&#39;,
            label: "Admin?",
            width: 50,
            editable: true,
            formatter: "checkbox",
            edittype: "checkbox",
            editoptions: {
              value: "true:false"
            }
          }, {
            name: &#39;created&#39;,
            label: "Date Created",
            width: 200
          }, {
            name: &#39;last_updated&#39;,
            label: "Last Updated",
            width: 200
          }, {
            name: &#39;password&#39;,
            label: "Password",
            hidden: true,
            editable: true,
            editrules: {
              edithidden: true,
              required: false
            }
          }
        ]
      });</pre>
</blockquote>
<blockquote></blockquote>
]]></description>
        	        	<pubDate>Tue, 17 Jul 2012 08:41:29 +0300</pubDate>
        </item>
</channel>
</rss>