-
14 Jun 2009 1:33 AM #41
style-binding in JS-File
style-binding in JS-File
Hello community,
because many developer forget binding the css-file, I have the style properties in the JS file placed.
In "init"-function near line 103 you add the red marked line.
Then you don't bind the CSS file. When you open a grid with added plugin-property, you see a button with "Arrow down"-symbol.Code:init : function(grid) { if (grid.enableHdMenu === false) { return; } styleExtention=Ext.util.CSS.createStyleSheet('.ext-ux-grid-gridviewmenuplugin-menuBtn.x-grid3-hd-btn {display:block}');

When posibile, integrated my idea on the next version.
♫Best regards
Matthias
_______________
ExtJS is the best ajax-framework, that I know!
-
19 Jul 2009 9:47 PM #42
I found a bug in IE7, when using hideHeaders config item in grid, the whole grid cannot show!
In FF 3.5, it is fine.
-
29 Jul 2009 1:48 AM #43
Hi Thorsten!
Thanks for sharing this great plugin! I like it!
I found out, that
is undefined until you open the menu. So there's an error in your destroy-method.Code:this.colMenu.getEl()
I simply changed it to
The error occured when I closed a tab which contains a GridPanel with your plugin and I didn't open the menu at least once.Code:_destroy : function() { if(this.colMenu){ this.colMenu.removeAll(); Ext.menu.MenuMgr.unregister(this.colMenu); if (this.colMenu.el) this.colMenu.el.remove(); delete this.colMenu; } if(this._menuBtn){ this._menuBtn.remove(); delete this._menuBtn; } }
(But it's reproducable in a simple example. I modified the array-grid example and added your plugin. Then I called grid.destroy() on a button click. Just the same error.)
Maybe the problem occurs in your app as well and you can apply the little change to your code.
Keep up the great work!
Best regardsProgramming today is a race between software engineers striving to build bigger and better Ń–diot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)
Enhanced ExtJS adapter for Adobe AIR
-
29 Jul 2009 2:39 AM #44
-
6 Aug 2009 9:10 PM #45
Using 'Ext.util.CSS.createStyleSheet' will have problem in IE7.
see: http://extjs.com/forum/showthread.php?p=369735
-
2 Oct 2009 3:54 AM #46
-
3 Oct 2009 10:08 PM #47
-
5 Jan 2010 3:31 PM #48
Ext.ux.grid.GridViewMenuPlugin 0.3 available
Ext.ux.grid.GridViewMenuPlugin 0.3 available
Hey there, I have just updated the plugin to work with Ext 3.1, along with some minor bug fixes.
-
13 Jan 2010 9:40 PM #49
Showing the menu from a button click
Showing the menu from a button click
Is there a way to show the menu from a click of a button that is somewhere else on the page? It works as specified, but I have a need to be able to display it when a button is clicked. I can't seem to figure how to get the handle/reference to the menu object.
-
24 Jan 2010 9:10 AM #50


Reply With Quote
