<?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 custom message to user in center of grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/displaying-custom-message-to-user-in-center-of-grid</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/feature-request/displaying-custom-message-to-user-in-center-of-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Displaying custom message to user in center of grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/displaying-custom-message-to-user-in-center-of-grid#p14290</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/displaying-custom-message-to-user-in-center-of-grid#p14290</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If you use a pager - there is a such function - if no records we put usually at botom right of the grid - No records to view.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 26 Jan 2010 18:37:43 +0200</pubDate>
        </item>
        <item>
        	<title>hughitt1 on Displaying custom message to user in center of grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/displaying-custom-message-to-user-in-center-of-grid#p14248</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/displaying-custom-message-to-user-in-center-of-grid#p14248</guid>
        	        	<description><![CDATA[<p>It would be useful to be able to display a custom message to the user in the center of the grid, in an obvious manner.</p>
<p>For example, if no results are returned, it would be helpful to display something like "No Records Found." in the center of the screen. This way the user knows that the the grid is finished processing, and that the empty table is what is supposed to be displayed.</p>
<p>It&#39;s already possible to do things like adjust the caption in the onLoad event-handler, &#160;however, this doesn&#39;t always stand-out and could easily be over-looked by the user.</p>
<p>While it&#39;s possible to abuse the progress indicator to do this, e.g.:</p>
</p>
<p>&#160;&#160;&#160; &#160; &#160; &#160; &#160; &#160;loadComplete: function () {</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if (this.p.records === 0) {</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;setTimeout(function () {</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$("#load_search-results-datagrid").show().text("No Matches Found.");</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}, 500);</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; }</p>
</p>
<p>This isn&#39;t a very elegant solution to the problem.</p>
</p>
<p>Any possibility to include a method to display some text to the user in a manner similar to the progress indicator?</p>
</p>
<p>Thanks!</p>
<p>Keith</p>
]]></description>
        	        	<pubDate>Mon, 25 Jan 2010 18:08:44 +0200</pubDate>
        </item>
</channel>
</rss>