<?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: Displaying loadtext and emptyrecords</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/displaying-loadtext-and-emptyrecords</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/displaying-loadtext-and-emptyrecords/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Displaying loadtext and emptyrecords</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/displaying-loadtext-and-emptyrecords#p18860</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/displaying-loadtext-and-emptyrecords#p18860</guid>
        	        	<description><![CDATA[<p>Look at my old answer in stackoverflow: <a href="http://stackoverflow.com/questions/2705719/jqgrid-trigger-loading-overlay/2706447#2706447.&#160;Probably" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....p;Probably</a> it clears how to display the loading text.</p>
<p>To display emptyrecords message like jqGrid as do you can do something like following:</p>
<p>var myGrid = $(&#39;#list&#39;);<br /><span style="font-size: 13.8889px;">if (myGrid.getGridParam(&#39;reccount&#39;)&#160;=== 0) {<br /><span style="font-size: 13.8889px;">&#160;&#160; &#160;var pgboxes = myGrid.getGridParam(&#39;pager&#39;);<br /><span style="font-size: 13.8889px;">&#160;&#160; &#160;$(".ui-paging-info",pgboxes).html(myGrid.getGridParam(&#39;emptyrecords&#39;));<br /><span style="font-size: 13.8889px;">}</span></span></span></span></p>
]]></description>
        	        	<pubDate>Thu, 29 Jul 2010 19:57:57 +0300</pubDate>
        </item>
        <item>
        	<title>logicg8 on Displaying loadtext and emptyrecords</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/displaying-loadtext-and-emptyrecords#p18854</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/displaying-loadtext-and-emptyrecords#p18854</guid>
        	        	<description><![CDATA[</p>
<p>Is there a way to&#160; programmatically have the loadtext show? Same question for the emptyrecords? Any help is greatly appreciated.</p>
]]></description>
        	        	<pubDate>Thu, 29 Jul 2010 16:48:31 +0300</pubDate>
        </item>
        <item>
        	<title>logicg8 on Displaying loadtext and emptyrecords</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/displaying-loadtext-and-emptyrecords#p18845</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/displaying-loadtext-and-emptyrecords#p18845</guid>
        	        	<description><![CDATA[</p>
<p>I have data on a form that post via an ajax call. The results are displayed in a jqGrid. While the ajax call is being processed, I want the jqGrid to display the loadtext.&#160; If no results are returned, I would like the jqGrid to display the message associated with emptyrecords. I have my jqGrid initialized as follows:</p>
<p>.jqGrid({ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "local", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: resultsTableHeight, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Account Id&#39;], <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel:[ { name:"id", width:150}], <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadtext: "Loading...",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; emptyrecords: "No Accounts Found"&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
</p>
<p>How can I tell the jqGrid to show the loading text? How can I tell the jqGrid to show the emptyrecords message?</p>
</p>
<p>Thanks in advance for your help.</p>
]]></description>
        	        	<pubDate>Wed, 28 Jul 2010 23:15:37 +0300</pubDate>
        </item>
</channel>
</rss>