<?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: Grid Header and Content Alignment</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1</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/grid-header-and-content-alignment-1/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>johntom on Grid Header and Content Alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15569</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15569</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>After some more testing it appears that nothing is wrong with the grid nor my scripts. Apparently the October theme from <a href="http://www.asp.net/mvc/gallery/default.aspx?supportsjs=true" rel="nofollow" target="_blank"><a href="http://www.asp.net/mvc/gallery" rel="nofollow">http://www.asp.net/mvc/gallery</a>.....rtsjs=true</a> causes the problem. I&#39;ve tried a few others and they all worked fine. Its the site.css file copied to the content folder that causes the problem.</p>
<p>Thanks,</p>
<p>John</p>
]]></description>
        	        	<pubDate>Wed, 10 Mar 2010 02:25:05 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Grid Header and Content Alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15533</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15533</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Somthing is not correct here. Are you sure if this is the whole code?</p>
<p>It seems like the first row is with missed width.</p>
<p>Please do not try to use any events - just pure grid with data and see the result.</p>
</p>
<p>Best regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 09 Mar 2010 19:40:14 +0200</pubDate>
        </item>
        <item>
        	<title>johntom on Grid Header and Content Alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15434</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15434</guid>
        	        	<description><![CDATA[<p>Do over!</p>
<p><a href="http://www.gtz.com/images/header.jpg"><img src="http://www.gtz.com/images/header.jpg" width="100"  class="sfimageleft spUserImage" alt="header" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 21:12:09 +0200</pubDate>
        </item>
        <item>
        	<title>johntom on Grid Header and Content Alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15433</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15433</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Perhaps I didn&#39;t explain my problem clearly. Here&#39;s a jpg.</p>
<p>Thanks again for your fantastic product,</p>
<p>J<a href="/blog/www.gtz.com/images/Header.JPG"><img src="/blog/www.gtz.com/images/Header.JPG" width="100"  class="sfimageleft spUserImage" alt="jqgrid header alingnment" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a>ohn</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 21:03:31 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Grid Header and Content Alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15402</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15402</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is not done automatically from the grid. For this purpose you should use setLabel method.</p>
<p>Suppose you want to align some header column to right you should</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7420' value='Select Code' data-codeid='sfcode7420' /></p>
<div class='sfcode' id='sfcode7420'>
<p>$("#mygrid").jqGrid("setLabel","mycolname","",{"text-align":"right"});</p>
</div>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 13:00:28 +0200</pubDate>
        </item>
        <item>
        	<title>johntom on Grid Header and Content Alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15314</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-header-and-content-alignment-1#p15314</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Fairly new to jqGrid and consider my testing quite successful. I have 1 probelm that I&#39;ve searched and changed most possible settings and still can&#39;t get the headers to allign with data.</p>
<p>Asp.net 3.5 MVC (VS 2008)</p>
<p>Entity Framework using Firebird database</p>
<p>Jquery: 1.4.2</p>
<p>JqueryUI: 1.8.rc3</p>
<p>jqgrid 3.6.4</p>
</p>
<p>GridDemo.Home.GridDemo = {</p>
<p>&#160;&#160;&#160; setupGrid: function(grid, pager, search) {<br />&#160;&#160; grid.jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:850,{or autowidth:true}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; shrinkToFit: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Art ID&#39;, &#39;Title&#39;, &#39;Category&#39;,&#39;CatDesc&#39;, &#39;Date&#39;, &#39;Ref&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160; { name: &#39;ARTICLE_ID&#39;, index: &#39;ARTICLE_ID&#39;, width: 150, search: true, editable: true, editoptions: { readonly: true, size: 10} },<br />&#160;&#160;&#160;&#160; { name: &#39;ARTICLE_TITLE&#39;, index: &#39;ARTICLE_TITLE&#39;, width: 150, search: true, sortable: true, editable: true, edittype: &#39;text&#39;, editoptions: { size: 100, maxlength: 100} },<br />&#160;&#160;&#160;&#160; { name: &#39;CATEGORY_ID&#39;, index: &#39;CATEGORY_ID&#39;, width: 150, hidden: false, editable: true, jsonmap: "CAT_DESC", edittype: &#39;select&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editoptions: { value: calcMethodSelect(), editrules: { required: true }, </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; dataEvents: [{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; type: &#39;change&#39;, fn: function(e) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var thisval = $(e.target).val();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#targetsel").html(targetSelect(thisval))<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } }]<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, <br />&#160;&#160; { name: &#39;CAT_DESC&#39;, index: &#39;CAT_DESC&#39;, search: false, editable: false, hidden:true},<br />&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160; { name: &#39;DATE_ADD&#39;, index: &#39;DATE_ADD&#39;, width: 150, editable: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;REF&#39;, index: &#39;REF&#39;, width: 150, editable: false, sortable: false }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: pager,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;ARTICLE_ID&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [10, 20, 50],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "asc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: "GridDemoData",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ondblClickRow: ShowArticleDetails,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl: "GridSave",</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;Articles from 2008&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }).navGrid("#pager", { edit: true, add: false, del: false, search: true },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; modal: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 450,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: &#39;auto&#39;, &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; reloadAfterSubmit: false, closeAfterEdit: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; closeAfterAdd: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onInitializeForm: function(formid) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#DATE_ADD", formid).datepicker({ showOn: &#39;focus&#39; });<br />});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; search.filterGrid("#" + grid.attr("id"), {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridModel: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; filterModel: [{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; label: &#39;Search&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; name: &#39;search&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; stype: &#39;text&#39;}]<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; };</p>
<p>=====</p>
<p>Site.Master</p>
<p>&#160;&#160; &#60;link href="&#60;%= Url.Content("../../css/ui-lightness/jquery-ui-1.8rc3.custom.css") %&#62;" rel="stylesheet"&#160;&#160; type="text/css" /&#62;<br />&#160;&#160; &#60;link href="&#60;%= Url.Content("../../js/src/css/ui.jqgrid.css") %&#62;" rel="stylesheet"&#160;&#160; type="text/css"/&#62;<br />&#160;&#160; &#60;link href="&#60;%= Url.Content("../../js/src/css/jquery.searchFilter.css") %&#62;" rel="stylesheet"&#160;&#160; type="text/css" /&#62;</p>
<p>...</p>
<p>&#160;&#160;&#160; &#60;script src="../../js/jquery-1.4.2.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="../../js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;<br />&#160;&#160;&#160; &#60;script src="&#60;%= this.ResolveClientUrl("../../Scripts/jquery-ui-1.8rc3.custom.min.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="&#60;%= this.ResolveClientUrl("../../js/i18n/grid.locale-en.js") %&#62;" type="text/javascript"&#62;&#60;/script/--&#62;<br />&#160;&#160;&#160; &#60;script src="../../js/src/grid.loader.js" type="text/javascript"&#62;&#60;/script&#62;</p>
</p>
<p>Thanks,</p>
<p>John[Image Can Not Be Found]</p>
]]></description>
        	        	<pubDate>Tue, 02 Mar 2010 22:54:30 +0200</pubDate>
        </item>
</channel>
</rss>