<?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: pager stops working when additional css classes are present !!!!</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present</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/pager-stops-working-when-additional-css-classes-are-present/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Creativebyte on pager stops working when additional css classes are present !!!!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1296</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1296</guid>
        	        	<description><![CDATA[<p>Sorry, I still don&#39;t get it. The only thing that jqgrid knows about the pager is just the jquery selector from the options array. By using this, you do everything, starting from showing the whole thing to adding buttons and navigation images to it. So, Why does it matter where the pager is?</p>
<p>Anyway: if you don&#39;t want to set the scroll class automatically it&#39;s ok.</p>
]]></description>
        	        	<pubDate>Mon, 28 Jul 2008 05:01:11 +0300</pubDate>
        </item>
        <item>
        	<title>tony on pager stops working when additional css classes are present !!!!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1295</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1295</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I do not agree with this - if you set the pager where you want -</p>
<p>how will jqGrid known where to add buttons and etc <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-wink.gif" border="0" alt="Wink" /></p>
]]></description>
        	        	<pubDate>Mon, 28 Jul 2008 04:27:10 +0300</pubDate>
        </item>
        <item>
        	<title>Creativebyte on pager stops working when additional css classes are present !!!!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1291</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1291</guid>
        	        	<description><![CDATA[<p>Hi tony,</p>
<p>I don&#39;t get this reason. Of course I can put the pager html element where I want. But since you have the jQuery selector of the pager, this doesn&#39;t matter, does it?</p>
<p>So, in my opinion it&#39;s like this: when a pager selector is given you set the class scroll automatically. You could even bind this on viewrecords:true if you like.</p>
<p>BR,<br />Creativebyte</p>
]]></description>
        	        	<pubDate>Mon, 28 Jul 2008 02:39:15 +0300</pubDate>
        </item>
        <item>
        	<title>tony on pager stops working when additional css classes are present !!!!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1286</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1286</guid>
        	        	<description><![CDATA[<p>Thanks for this it will be corrected.</p>
<p>I think that a better way to check this is <strong>hasClass</strong></p>
<p>The reason to set manual class of pager is that they can be put</p>
<p>where you want.</p>
</p>
<p>Thank you</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 28 Jul 2008 02:16:41 +0300</pubDate>
        </item>
        <item>
        	<title>Creativebyte on pager stops working when additional css classes are present !!!!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1281</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1281</guid>
        	        	<description><![CDATA[<p>Additonal notice:</p>
<p>Why do I need to give the pager the class "scroll" anyway? Can&#39;t you do it while setting up the pager? Would save a few bits and would help gettign around this check completely...</p>
<p>For solving bug1 I already did it in my code. Just exchange your if() with:</p>
<p>if( $(ts.p.pager).attr("class").search(/scroll/) != -1)</p>
<p>and it works. But for rewriting the hiddengrid method: I have no idea how to do it quickly and I am prettyl ucky that I need the pager there...</p>
]]></description>
        	        	<pubDate>Sun, 27 Jul 2008 14:30:50 +0300</pubDate>
        </item>
        <item>
        	<title>Creativebyte on pager stops working when additional css classes are present !!!!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1280</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/pager-stops-working-when-additional-css-classes-are-present#p1280</guid>
        	        	<description><![CDATA[<p>Hi tony,</p>
<p>I just searched for hours before I foudn this really nasty bug (well, in fact there are two).</p>
<p>Fist bug: I added additional css classes to my pager element for styling. Unfortunately, your code in the base js file (line 1013) checks if the class "scroll" is set, but exclusevely. So, if I add additional classes your if won&#39;t work!!!<br />Pelase change this asap so that the if checks if the class is present but pelase not exclusively.</p>
<p>second bug (and this is the really nasty one): When searching for the first bug I noticed that a second grid (almost same parameters) wored fine with its pager, the only big difference was that hiddengrid was set to true. So, I looked a long time before I saw the conclusion: when showing the contents of a hiddengrid, you leave the check of bug 1 aside, you just show the pager regardless if the class "scroll" is given or not (ignoring the user setttings). So, if it would have worked correctly, this pager wouldn&#39;t have worked as well because of bug 1, but since you don&#39;t do the same in both cases it works with a hiddengrid.</p>
<p>So please, please: get rid of bug1 and take care that in case of a hiddengrid everything is done accordingly to the normal behaviour (only "later").</p>
<p>I will cahnge this in my code in the meantime but I hope that a bigfix release will come out soon. Until then, you should add to the documentation that the class "scrolL" has to be given exclusively to the pager.</p>
<p>BR,<br />Creativebyte</p>
]]></description>
        	        	<pubDate>Sun, 27 Jul 2008 14:00:33 +0300</pubDate>
        </item>
</channel>
</rss>