Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / app / simple / app / view / user / List.js
diff --git a/examples/app/simple/app/view/user/List.js b/examples/app/simple/app/view/user/List.js
new file mode 100644 (file)
index 0000000..731a1d9
--- /dev/null
@@ -0,0 +1,12 @@
+Ext.define('AM.view.user.List' ,{
+    extend: 'Ext.grid.Panel',
+    alias : 'widget.userlist',
+
+    title : 'All Users',
+    store: 'Users',
+
+    columns: [
+        {header: 'Name',  dataIndex: 'name',  flex: 1},
+        {header: 'Email', dataIndex: 'email', flex: 1}
+    ]
+});