<?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: SetColumn Visual Bug</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug</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/setcolumn-visual-bug/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Hannes KÃ¤ufler on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10684</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10684</guid>
        	        	<description><![CDATA[<p>Ha thank you!</p>
<p>Was a bug in the php class we use!</p>
<p>Regards, Hannes</p>
]]></description>
        	        	<pubDate>Tue, 13 Oct 2009 11:36:22 +0300</pubDate>
        </item>
        <item>
        	<title>markw65 on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10680</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10680</guid>
        	        	<description><![CDATA[<blockquote>
<p>Hannes K&#228;ufler said:</p>
<p><small><em>Post edited 07:19 &#8211; 13/10/2009 by Hannes K&#228;ufler<br /></em></small></p>
<hr />
<div>It somehow interpreted this.width and&#160;$t.p.tblwidth as strings and therefore messed up the grid width.</div>
<div>I should add that I updated to jqGrid 3.5.3 (the GitHub version).</div>
<div></div>
</blockquote>
<hr />
<p>But /you/ provided the width&#39;s in your colModel!</p>
</p>
<p>Easy fix, with no changes to the grid:</p>
</p>
<p>width:50, rather than width:&#39;50&#39; <img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
</p>
<p>Also probably the better way to fix it, since colModel[i].width is used in a lot of other places without converting it to an int...</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Tue, 13 Oct 2009 08:25:08 +0300</pubDate>
        </item>
        <item>
        	<title>Hannes KÃ¤ufler on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10677</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10677</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>after some testing I found and fixed the Bug for me.</p>
<p>In grid.base.js on line 1758:</p>
<p><span> </span>if(show == &#8220;none&#8221;) $t.p.tblwidth -= this.width; else $t.p.tblwidth += this.width;</p>
</p>
<p>to:</p>
<p><span> </span>if(show == &#8220;none&#8221;) $t.p.tblwidth -= parseInt(this.width); else $t.p.tblwidth += parseInt(this.width);</p>
</p>
<div>It somehow interpreted this.width and&#160;$t.p.tblwidth as strings and therefore messed up the grid width.</div>
<div>I should add that I updated to jqGrid 3.5.3 (the GitHub version).</div>
<div></div>
<div>Greetings Hannes</div>
]]></description>
        	        	<pubDate>Tue, 13 Oct 2009 07:13:30 +0300</pubDate>
        </item>
        <item>
        	<title>tony on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10456</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10456</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could not reproduce. Could you please provide a link to the problem, or</p>
<p>look at this fix in 3.5 (if this is the problem)</p>
<p>"Fixed bug in setColumns method when we use two or more grids with the same names."</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 06 Oct 2009 07:43:53 +0300</pubDate>
        </item>
        <item>
        	<title>Hannes KÃ¤ufler on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10408</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10408</guid>
        	        	<description><![CDATA[<p>We are using 3.5.0</p>
</p>
<p>Hannes</p>
]]></description>
        	        	<pubDate>Mon, 05 Oct 2009 07:17:00 +0300</pubDate>
        </item>
        <item>
        	<title>tony on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10394</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10394</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version of jqGrid is used?</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 05 Oct 2009 02:30:14 +0300</pubDate>
        </item>
        <item>
        	<title>Hannes KÃ¤ufler on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10382</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p10382</guid>
        	        	<description><![CDATA[<p>Hi tony, have you found anything yet?</p>
</p>
<p>Regards, Hannes</p>
]]></description>
        	        	<pubDate>Sun, 04 Oct 2009 11:16:24 +0300</pubDate>
        </item>
        <item>
        	<title>tony on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9665</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9665</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Will test this.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 13 Sep 2009 05:12:28 +0300</pubDate>
        </item>
        <item>
        	<title>Hannes KÃ¤ufler on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9659</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9659</guid>
        	        	<description><![CDATA[<p><div class="sourceRow ">Well, this is the JS for the Grid basically:</div>
<div class="sourceRow "></div>
<div class="sourceRow "></div>
<div class="sourceRow "></div>
<div class="sourceRow ">
<div class="sourceRow "><span class="sourceRowText ">$("#tbl_stakeholders").jqGrid({url: &#39;myurl&#39;,datatype: &#39;json&#39;,sortname: &#39;id&#39;,sortorder: &#39;asc&#39;,rowList: [10,20,50,100,200],mtype: &#39;POST&#39;,viewrecords: true,imgpath: &#39;myimgs&#39;,loadError: function(xhr,st,err) { </span></div>
<div class="sourceRow "><span class="sourceRowText ">$("#tbl_stakeholders").html(&#160;</span></div>
</div>
<div class="sourceRow "><span class="sourceRowText ">"Type: "+st+"Response: "+ xhr.status + " "+xhr.statusText); </span></div>
<div class="sourceRow "><span class="sourceRowText ">},width: &#39;&#39; + tbl_width(370) + &#39;&#39;,height: &#39;&#39; + (($(window).height() - 270 ) / 2) + &#39;&#39;,pager: jQuery("#stakeholders_pager"),forceFit: true,sortname: &#39;pm_stakeholders.lastname&#39;,rowNum: 50,colModel : [{ label: &#39;Nachname&#39;,name: &#39;pm_stakeholders.lastname&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: true,search: true,hidedlg: true,hidefilter: true},{ label: &#39;Vorname&#39;,name: &#39;pm_stakeholders.firstname&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: true,search: true,hidedlg: true,hidefilter: true},{ label: &#39;Anrede&#39;,name: &#39;pm_stakeholder_private_data.term_of_adress&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: true,search: true,hidden: true},{ label: &#39;Titel&#39;,name: &#39;pm_stakeholder_private_data.title&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Stra&#223;e&#39;,name: &#39;pm_stakeholder_private_data.street_adress&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Hausnummer&#39;,name: &#39;pm_stakeholder_private_data.house_number&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Postleitzahl&#39;,name: &#39;pm_stakeholder_private_data.postal_code&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Wohnort&#39;,name: &#39;pm_stakeholder_private_data.place_of_residence&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Land&#39;,name: &#39;pm_stakeholder_private_data.country&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Telefon&#39;,name: &#39;pm_stakeholder_private_data.home_phone_number&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Mobil&#39;,name: &#39;pm_stakeholder_private_data.mobile_phone_number&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Telefax&#39;,name: &#39;pm_stakeholder_private_data.home_fax_number&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;E-Mail Adresse&#39;,name: &#39;pm_stakeholder_private_data.home_email_adress&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Geburtsdatum&#39;,name: &#39;pm_stakeholder_private_data.date_of_birth&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Familienstand&#39;,name: &#39;pm_stakeholder_private_data.marital_status&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Grad der Behinderung&#39;,name: &#39;pm_stakeholder_private_data.degree_of_physical_handicap&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: true,search: true,hidden: true},{ label: &#39;Kinder&#39;,name: &#39;pm_stakeholder_private_data.children_count&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Religion / Konfession&#39;,name: &#39;pm_stakeholder_private_data.denomination&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Nationalit&#228;t&#39;,name: &#39;pm_stakeholder_private_data.nationality&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,hidden: true},{ label: &#39;Standort&#39;,name: &#39;pm_stakeholder_business_data.location&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,edittype: &#39;select&#39;,editoptions: {value:"0:Alle;5:Nix;4:Ulm"}},{ label: &#39;Abteilung&#39;,name: &#39;pm_stakeholder_business_data.department&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,edittype: &#39;select&#39;,editoptions: {value:"0:Alle;4:Programmierung"}},{ label: &#39;Kostenstelle&#39;,name: &#39;pm_stakeholder_business_data.cost_centre&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,edittype: &#39;select&#39;,editoptions: {value:"0:Alle;5:111 - Kein Plan"}},{ label: &#39;Vorgesetzter&#39;,name: &#39;pm_stakeholder_business_data.superior&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: false,hidden: true},{ label: &#39;Stellvertreter&#39;,name: &#39;pm_stakeholder_business_data.deputy&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: false,hidden: true},{ label: &#39;Angestellt seit&#39;,name: &#39;pm_stakeholder_business_data.date_of_employment&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: false,hidden: true},{ label: &#39;T&#228;tigkeitsart&#39;,name: &#39;pm_stakeholder_business_data.function&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: false},{ label: &#39;E-Mail Adresse&#39;,name: &#39;pm_stakeholder_business_data.email&#39;,width: &#39;150&#39;,align: &#39;left&#39;,sortable: false,search: false,hidden: true},{ label: &#39;Kurzzeichen&#39;,name: &#39;pm_stakeholder_business_data.letter_symbol&#39;,width: &#39;150&#39;,align: &#39;left&#39;,sortable: false,search: false},{ label: &#39;Mitarbeiter&#39;,name: &#39;separated&#39;,width: &#39;100&#39;,align: &#39;left&#39;,sortable: false,search: true,edittype: &#39;select&#39;,editoptions: {value:"1:nur aktive;2:nur ausgeschiedene"},hidden: true,hidedlg: true,editrules: { searchhidden: true }},{ label: &#39;Aktionen&#39;,name: &#39;actions&#39;,width: &#39;60&#39;,align: &#39;right&#39;,sortable: false,search: false}]}); });&#160;</span></div>
<div class="sourceRow "></div>
<div class="sourceRow ">It&#180;s quite a lot of cols.</div>
<div class="sourceRow ">I then call the setColumn stuff via:</div>
<div class="sourceRow "></div>
<div class="sourceRow ">
<div class="sourceRow ">$("#tbl_stakeholders").navButtonAdd(&#39;#stakeholders_pager&#39;,{</div>
<div class="sourceRow "><span> </span> &#160; caption:"",&#160;</div>
<div class="sourceRow "><span> </span> &#160; buttonicon:"ui-icon-pencil",&#160;</div>
<div class="sourceRow "><span> </span> &#160; onClickButton: function(){&#160;</div>
<div class="sourceRow "><span> </span> &#160; &#160; &#160;$("#tbl_stakeholders").setColumns(</div>
<div class="sourceRow "><span> </span>{&#160;</div>
<div class="sourceRow "><span> </span>colnameview: false</div>
<div class="sourceRow "><span> </span>});</div>
<div class="sourceRow "><span> </span> &#160; },&#160;</div>
<div class="sourceRow "><span> </span> &#160; position:"last"</div>
<div class="sourceRow "><span> </span>});</div>
</div>
]]></description>
        	        	<pubDate>Sun, 13 Sep 2009 04:15:35 +0300</pubDate>
        </item>
        <item>
        	<title>tony on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9596</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9596</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could not reproduce. Could you please send a link to the problem or the entry grid configuration.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 11 Sep 2009 02:39:10 +0300</pubDate>
        </item>
        <item>
        	<title>Hannes KÃ¤ufler on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9558</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9558</guid>
        	        	<description><![CDATA[<p>The only thing I have set in the options is to not show the colname</p>
</p>
<p>setColumns(</p>
<p><span> </span>{&#160;</p>
<p><span> </span>colnameview: false</p>
<p><span> </span>})</p>
]]></description>
        	        	<pubDate>Thu, 10 Sep 2009 05:09:40 +0300</pubDate>
        </item>
        <item>
        	<title>tony on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9292</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9292</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please post the options in setColumns - i.e ...setColumns( options)?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 04 Sep 2009 02:53:48 +0300</pubDate>
        </item>
        <item>
        	<title>Hannes KÃ¤ufler on SetColumn Visual Bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9257</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcolumn-visual-bug#p9257</guid>
        	        	<description><![CDATA[<p>Hi guys.</p>
</p>
<p>Has anyone else noticed the following bug?</p>
</p>
<p>You activate a (by default hidden) column via the setColumn Dialog, and then you deactivate the very same column again. The first column in the grid is then stretched to a huge witdh and all the other columns are gone.</p>
<p>Would be nice to see a fix for that!</p>
</p>
<p>Greetings, Hannes</p></p>
]]></description>
        	        	<pubDate>Thu, 03 Sep 2009 07:20:55 +0300</pubDate>
        </item>
</channel>
</rss>