<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>ShinePHP Forum &#187; Tag: ExtJS Grid - Recent Posts</title>
		<link>http://shinephp.com/community/tags/extjs-grid</link>
		<description>General Web development, PHP, MySQL, WordPress and its plugins discussions</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 04:25:35 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://shinephp.com/community/search.php</link>
		</textInput>
		<atom:link href="http://shinephp.com/community/rss/tags/extjs-grid" rel="self" type="application/rss+xml" />

		<item>
			<title>vladimir on "ExtJS grid doesn&#039;t show the date field value"</title>
			<link>http://shinephp.com/community/topic/extjs-grid-doesnt-show-the-date-field-value#post-4</link>
			<pubDate>Tue, 23 Feb 2010 06:04:31 +0000</pubDate>
			<dc:creator>vladimir</dc:creator>
			<guid isPermaLink="false">4@http://shinephp.com/community/</guid>
			<description>&#60;p&#62;One of the reason can be the different Date and Time format which you use in MySQL select expression and ExtJS script.&#60;br /&#62;
For example MySQL returns datetime field value as 'YYYY-mm-dd hh:mm:ss' by default.&#60;br /&#62;
If you have&#60;/p&#62;


&#60;div class=&#34;bb_syntax&#34;&#62;&#60;div class=&#34;code&#34;&#62;&#60;pre class=&#34;javascript&#34; style=&#34;font-family:monospace;&#34;&#62;format&#60;span style=&#34;color: #339933;&#34;&#62;:&#60;/span&#62; &#60;span style=&#34;color: #3366CC;&#34;&#62;'m-d-Y H:i:s'&#60;/span&#62;&#60;/pre&#62;&#60;/div&#62;&#60;/div&#62;



&#60;p&#62;in your datetime grid column definition, you will see the blanks instead of real date and time values.&#60;br /&#62;
So to resolve this problem you can use the same datetime format at your MySQL select expression, e.g.&#60;/p&#62;


&#60;div class=&#34;bb_syntax&#34;&#62;&#60;div class=&#34;code&#34;&#62;&#60;pre class=&#34;sql&#34; style=&#34;font-family:monospace;&#34;&#62;&#60;span style=&#34;color: #993333; font-weight: bold;&#34;&#62;SELECT&#60;/span&#62; DATE_FORMAT&#60;span style=&#34;color: #66cc66;&#34;&#62;&#38;#40;&#60;/span&#62;datetimefield&#60;span style=&#34;color: #66cc66;&#34;&#62;,&#60;/span&#62; &#60;span style=&#34;color: #ff0000;&#34;&#62;'%m-%d-%Y %H:%i:%s'&#60;/span&#62;&#60;span style=&#34;color: #66cc66;&#34;&#62;&#38;#41;&#60;/span&#62; &#60;span style=&#34;color: #993333; font-weight: bold;&#34;&#62;AS&#60;/span&#62; datetimefield
  &#60;span style=&#34;color: #993333; font-weight: bold;&#34;&#62;FROM&#60;/span&#62; sometable&#60;/pre&#62;&#60;/div&#62;&#60;/div&#62;


</description>
		</item>
		<item>
			<title>garvs on "ExtJS grid doesn&#039;t show the date field value"</title>
			<link>http://shinephp.com/community/topic/extjs-grid-doesnt-show-the-date-field-value#post-3</link>
			<pubDate>Tue, 23 Feb 2010 05:49:08 +0000</pubDate>
			<dc:creator>garvs</dc:creator>
			<guid isPermaLink="false">3@http://shinephp.com/community/</guid>
			<description>&#60;p&#62;Why ExtJS grid doesn't show the date field value?&#60;br /&#62;
I select it from MySQL database and FireBug shows that script receives it, but I see the empty date column in the grid.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

