<?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: Preserving Columns or Checking Column Visibility</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/preserving-columns-or-checking-column-visibility</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/preserving-columns-or-checking-column-visibility/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Preserving Columns or Checking Column Visibility</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/preserving-columns-or-checking-column-visibility#p13167</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/preserving-columns-or-checking-column-visibility#p13167</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>@Wil,l @Simon</p>
<p>You can easy get the current colModel. Nothe that this is the current condition including the width, visibility and etc.</p>
<p>You can</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2104' value='Select Code' data-codeid='sfcode2104' /></p>
<div class='sfcode' id='sfcode2104'>
<p>var currcolModel&#160; = $("#migrid").jqGrid(&#39;getGridParam&#39;,&#39;colModel&#39;);</p>
</div>
<p>So if you save the model in and reload the page and call the grid with the saved model you will have what you want</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 18 Dec 2009 20:16:51 +0200</pubDate>
        </item>
        <item>
        	<title>SimonL on Preserving Columns or Checking Column Visibility</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/preserving-columns-or-checking-column-visibility#p13085</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/preserving-columns-or-checking-column-visibility#p13085</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>I have an issue that is is related to Will&#39;s . I have used the column chooser plugin so the user can choose their column arrangement i.e. which columns are to be visible and in what order. I store the columns the user chose in a cookie and in the order that the user chose in the columnChooser.</p>
<p>When the page is refreshed and the grid is reloaded I hide all columns in the grid, read the cookie and loop through the columns stored in the cookie and make them visible in the grid by calling <strong>$(#mygrid).jqGrid("showCol", Cols[i])</strong>.</p>
<p>This does indeed make the correct columns visible, but in the order defined in colModel, not in the order the user chose, i.e. the order they were read from the cookie.</p>
</p>
<p>Is there a way to make the columns appear in a given order?</p>
</p>
<p>Regards,</p>
<p>Simon</p></p>
]]></description>
        	        	<pubDate>Wed, 16 Dec 2009 17:19:52 +0200</pubDate>
        </item>
        <item>
        	<title>Will Smith on Preserving Columns or Checking Column Visibility</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/preserving-columns-or-checking-column-visibility#p13062</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/preserving-columns-or-checking-column-visibility#p13062</guid>
        	        	<description><![CDATA[<p>
<!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:view> <w:zoom>0</w:zoom> <w:compatibility> <w:breakwrappedtables></w:breakwrappedtables> <w:snaptogridincell></w:snaptogridincell> <w:wraptextwithpunct></w:wraptextwithpunct> <w:useasianbreakrules></w:useasianbreakrules> </w:compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:browserlevel> </w:worddocument> </xml><![endif]--></p>
<p>&#60;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&#62;</p>
<p><!--[if gte mso 10]>




<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>




<![endif]--></p>
<p>Hello,</p>
<p>I am trying to figure out a way to preserve a jqgird&#39;s column arrangement, on a per user basis.&#160; Is it possible to save the JQ Gird&#39;s column arrangement?&#160; Also is it possible to loop through a jq gird&#39;s columns to determine which columns a visible and which columns are not?</p>
</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Tue, 15 Dec 2009 23:19:02 +0200</pubDate>
        </item>
</channel>
</rss>