Pman.Tab.AdminProjectManager.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:31:10 +0000 (15:31 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:31:10 +0000 (15:31 +0800)
Pman.Tab.AdminProjectManager.js

index 8c0742d..d40d876 100644 (file)
@@ -615,6 +615,22 @@ Pman.Tab.AdminProjectManager = new Roo.util.Observable({
                                         xns: Roo.Toolbar,
                                         text : "Show:"
                                     },
+                                    {
+                                        xtype: 'Button',
+                                        xns: Roo.Toolbar,
+                                        listeners : {
+                                            render : function (_self)
+                                            {
+                                                if (st) { _this.grid.filter = 'P,N,U'; } 
+                                                _this.grid.footer.onClick('first');
+                                                 
+                                            }
+                                        },
+                                        enableToggle : true,
+                                        pressed : false,
+                                        text : "All",
+                                        toggleGroup : 'pgrp'
+                                    },
                                     {
                                         xtype: 'Button',
                                         xns: Roo.Toolbar,