<?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: Auto scroll horizontally when too many column</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/auto-scroll-horizontally-when-too-many-column</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/auto-scroll-horizontally-when-too-many-column/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Rumen[Trirand] on Auto scroll horizontally when too many column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/auto-scroll-horizontally-when-too-many-column#p12785</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/auto-scroll-horizontally-when-too-many-column#p12785</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Try setting width for the grid itself (in addition to the columns). There is a top-level width property of the grid, I see you have not set it - setting it to, say, 800, while having all these columns with much bigger cumulative length will produce a scrollbar.</p></p>
]]></description>
        	        	<pubDate>Mon, 07 Dec 2009 09:43:21 +0200</pubDate>
        </item>
        <item>
        	<title>markthien on Auto scroll horizontally when too many column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/auto-scroll-horizontally-when-too-many-column#p12780</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/auto-scroll-horizontally-when-too-many-column#p12780</guid>
        	        	<description><![CDATA[<p>Hi guys,</p>
</p>
<p>&#160;&#160;&#160; I need to display like 30 columns in jqgrid. Is there any configuration which I can configure to tell jqgrid to auto scroll horizontally within the grid itself? I always get the data like below:</p>
</p>
<p>jQuery("#list").jqGrid({<br />&#160;&#160; url:&#39;server.php?q=2&#39;,<br />datatype: "json",<br />&#160;&#160; colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;,&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;,&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;,&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;],<br />&#160;&#160; colModel:[<br />&#160;&#160; {name:&#39;id&#39;,index:&#39;id&#39;, width:55},<br />&#160;&#160; {name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90},<br />&#160;&#160; {name:&#39;name&#39;,index:&#39;name asc, invdate&#39;, width:100},<br />&#160;&#160; {name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right"},<br />&#160;&#160; {name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right"}, <br />&#160;&#160; {name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right"}, <br />&#160;&#160; {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false},</p>
<p>&#160;&#160; {name:&#39;id&#39;,index:&#39;id&#39;, width:55},<br />&#160;&#160; {name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90},<br />&#160;&#160; {name:&#39;name&#39;,index:&#39;name asc, invdate&#39;, width:100},<br />&#160;&#160; {name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right"},<br />&#160;&#160; {name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right"}, <br />&#160;&#160; {name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right"}, <br />&#160;&#160; {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false},</p>
<p>&#160;&#160; {name:&#39;id&#39;,index:&#39;id&#39;, width:55},<br />&#160;&#160; {name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90},<br />&#160;&#160; {name:&#39;name&#39;,index:&#39;name asc, invdate&#39;, width:100},<br />&#160;&#160; {name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right"},<br />&#160;&#160; {name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right"}, <br />&#160;&#160; {name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right"}, <br />&#160;&#160; {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false},&#160;&#160;</p>
<p>&#160; &#160;{name:&#39;id&#39;,index:&#39;id&#39;, width:55},<br />&#160;&#160; {name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90},<br />&#160;&#160; {name:&#39;name&#39;,index:&#39;name asc, invdate&#39;, width:100},<br />&#160;&#160; {name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right"},<br />&#160;&#160; {name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right"}, <br />&#160;&#160; {name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right"}, <br />&#160;&#160; {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false}<br />&#160;&#160; ],<br />&#160;&#160; rowNum:10,<br />&#160;&#160; rowList:[10,20,30],<br />&#160;&#160; pager: &#39;#pager2&#39;,<br />&#160;&#160; sortname: &#39;id&#39;,<br />&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160; caption:"JSON Example"<br />});</p>
</p>
<p>However, under the colModel and colNames, I will have like 30 columsn and once everything loaded, the browser scroll horizontally instead of the jqgrid itself.</p>
</p>
<p>Appreciate any help pls. Thanks !</p>
<p>regards,</p>
<p>Mark Thien</p></p>
]]></description>
        	        	<pubDate>Sun, 06 Dec 2009 03:44:41 +0200</pubDate>
        </item>
</channel>
</rss>