<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>天天成长的博客 &#187; ExtJs不显示列表数据</title>
	<atom:link href="http://ddgrow.com/tag/extjs%e4%b8%8d%e6%98%be%e7%a4%ba%e5%88%97%e8%a1%a8%e6%95%b0%e6%8d%ae/feed" rel="self" type="application/rss+xml" />
	<link>http://ddgrow.com</link>
	<description>关注技术、关注生活</description>
	<lastBuildDate>Wed, 26 Oct 2011 09:11:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>ExtJs 可编辑grid不显示列表内容</title>
		<link>http://ddgrow.com/extjs-edit-grid-not-show</link>
		<comments>http://ddgrow.com/extjs-edit-grid-not-show#comments</comments>
		<pubDate>Tue, 01 Dec 2009 08:06:31 +0000</pubDate>
		<dc:creator>逝去的风</dc:creator>
				<category><![CDATA[ExtJs]]></category>
		<category><![CDATA[ExtJs不显示列表数据]]></category>

		<guid isPermaLink="false">http://ddgrow.com/?p=712</guid>
		<description><![CDATA[刚开始学习ExtJs,不可避免的会遇到各种各样的问题，包括很低级的问题，这不，我今天就遇到一个。首先给你看一段代码，你认为运行结果是什么呢？ 代码1 Ext.onReady&#40;function&#40;&#41;&#123; var store1 = new Ext.data.JsonStore&#40;&#123; url:'test.php', root:'rows', fields:&#91;'id','name'&#93; &#125;&#41;; store1.load&#40;&#41;; var colModel = new Ext.grid.ColumnModel&#40;&#91;&#123;header:&#34;id&#34;,dataIndex:&#34;id&#34;&#125;,&#123;header:&#34;name&#34;,dataIndex:&#34;name&#34;&#125;&#93;&#41;; var grid = new Ext.grid.EditorGridPanel&#40;&#123; cm:colModel, store:store1, renderTo:Ext.getBody&#40;&#41; &#125;&#41;; &#125;&#41;; 告诉你，上面的代码运行结果是，不管你后台能不能返回来数据，都只是显示出grid的标题，而不会显示grid的记录。 为什么呢？我可是在extJs群中问过，与别人讨论过，最后结合这些资源，我发现了问题所在。先不说，你看下面的代码 代码2 Ext.onReady&#40;function&#40;&#41;&#123; var store1 = new Ext.data.JsonStore&#40;&#123; url:'test.php', root:'rows', fields:&#91;'id','name'&#93; &#125;&#41;; store1.load&#40;&#41;; var colModel = new Ext.grid.ColumnModel&#40;&#91;&#123;header:&#34;id&#34;,dataIndex:&#34;id&#34;&#125;,&#123;header:&#34;name&#34;,dataIndex:&#34;name&#34;&#125;&#93;&#41;; var grid = new Ext.grid.EditorGridPanel&#40;&#123; cm:colModel, store:store1, height:300, [...]]]></description>
		<wfw:commentRss>http://ddgrow.com/extjs-edit-grid-not-show/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
