<?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: How to: Hack-in jQuery UI-ThemeRoller support</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-hack-in-jquery-ui-themeroller-support</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/discussion/how-to-hack-in-jquery-ui-themeroller-support/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mainster on How to: Hack-in jQuery UI-ThemeRoller support</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-hack-in-jquery-ui-themeroller-support#p6412</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-hack-in-jquery-ui-themeroller-support#p6412</guid>
        	        	<description><![CDATA[<p>So far, this is my solution for adjusting the Pager for themes:</p>
<p>.ui-jqgrid-title {<br />&#160;&#160;&#160; font-size: 12px;<br />}</p>
<p>.ui-pg-button {<br />&#160;&#160;&#160; border: 1px solid transparent;<br />}</p>
<p>table.ui-pg-table td,<br />table.ui-pg-table td span {<br />&#160;&#160;&#160; border: 1px solid transparent !important;<br />&#160;&#160;&#160; font-size:11px;<br />}</p>
<p>table.ui-pg-table input {<br />&#160;&#160;&#160; font-size:12px !important;<br />&#160;&#160;&#160; height:18px !important;<br />}</p>
<p>$("div#pager").removeClass("ui-jqgrid-pager");</p>
]]></description>
        	        	<pubDate>Thu, 30 Apr 2009 16:33:33 +0300</pubDate>
        </item>
        <item>
        	<title>mainster on How to: Hack-in jQuery UI-ThemeRoller support</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-hack-in-jquery-ui-themeroller-support#p6408</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-hack-in-jquery-ui-themeroller-support#p6408</guid>
        	        	<description><![CDATA[<p>Hi Steve,</p>
</p>
<p>That is excellent! I have only been working with jqGrid for a few days, and been trying hard to hack it to work nicely with jquery UI, as demonstrated here:</p>
<p><a href="http://www.trirand.com/jqgrid35/jqgrid.html" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgrid3" rel="nofollow">http://www.trirand.com/jqgrid3</a>.....qgrid.html</a></p>
<p>Looks nice with your border hack, but I would really like a nice hack for the pager aw well! Currently the .ui-state-hover triggered on hovering the arrow icons, adds a border. I guess I should add a 1px border hidden for the ui-state-default?</p>
<p>I also have problems with the placement of the text and arrows, looking at Firebug, I can see the problem is that the containers are forced into dimension of width x 41 pixels. Is it eh background image from jquer-UI exanding them?</p>
<p>Not much of a CSS expert unfortunately... 🙁</p>
<p>Please give me some hints of what to do here 😉</p>
<p>Kristian</p>
]]></description>
        	        	<pubDate>Thu, 30 Apr 2009 15:42:33 +0300</pubDate>
        </item>
        <item>
        	<title>StevenBlack on How to: Hack-in jQuery UI-ThemeRoller support</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-hack-in-jquery-ui-themeroller-support#p5045</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-hack-in-jquery-ui-themeroller-support#p5045</guid>
        	        	<description><![CDATA[<p>I folks,</p>
<p>I just hacked-in ThemeRoller support for my jqGrids.&#160; So I thought I would share this hoping it might help others.</p>
<p>Warning: the jqGrids I am developing right now have no footers.&#160; IOW, I hide the whole area that says &#8220;Page 1 of NN&#8221; at the bottom.&#160; So implementing that is up to you and the code below is a good starter.&#160; The code below only applies to the grid title.&#160; If I decide to hack column headers, I will add to this but, right now, I do not have the need to theme column headers.&#160; Looks fine to me&#8230;</p>
<p>I am using the latest jQuery-UI 1.6R6 which will soon ship as jQuery-UI 1.7 and require jQuery 1.31 at minimum.</p>
<p>My current pages include the ThemeRoller switching tool and this seems to work fine on my themed jqGrids.</p>
<p>// As usual<br />$(&#8221;#MyTable&#8221;).jqGrid(&#8230;);</p>
<p>// theme support<br />$(&#8221;#MyTable&#8221;).addClass(&#8221;ui-widget&#8221;);<br />$(&#8221;table.Header th, .HeaderRight, .HeaderLeft&#8221;).css(&#8221;background-image&#8221;,&#8221;url()&#8221;).addClass(&#8221;ui-widget-header&#8221;).addClass(&#8221;ui-state-default&#8221;);</p>
<p>// This side-border suppression is necessary since the jqGrid title area is a composite and the jQuery UI themes place borders that do not look so good in this partucular context.<br />$(&#8221;td.HeaderRight&#8221;).css(&#8221;border-left&#8221;,&#8221;0px&#8221;);<br />$(&#8221;td.HeaderLeft&#8221;).css(&#8221;border-right&#8221;,&#8221;0px&#8221;);<br />$(&#8221;table.Header th&#8221;).css({borderLeft:&#8221;0px&#8221;, borderRight:&#8221;0px&#8221;});</p>
<p>I am pretty happy with the result on my limited and simple jqGrids and I hope this gets you started if you need ThemeRoller support for your jqGrids.</p>
<p>**&#8211;**&#160; Steve</p>
]]></description>
        	        	<pubDate>Sun, 01 Mar 2009 20:11:51 +0200</pubDate>
        </item>
</channel>
</rss>