Search Type: Posts; User: ax123man
Search: Search took 0.04 seconds.
-
20 Oct 2009 1:46 PM
Jump to post Thread: menuseparator config by ax123man
- Replies
- 3
- Views
- 830
it was easy:
<menu>
<items>
<button text="A button" />
<string>-</string>
<button text="Another button" /> -
20 Oct 2009 11:28 AM
Jump to post Thread: menuseparator config by ax123man
- Replies
- 3
- Views
- 830
maybe, but my config objects are created via DWR from objects created via xtream & xml. So they are java classes with properties, not simple strings.
-
20 Oct 2009 9:46 AM
Jump to post Thread: menuseparator config by ax123man
- Replies
- 3
- Views
- 830
I'm having problems creating a menu separator in a menu using config. It didn't look like Ext had an xtype registered for this so I did this:
Ext.ComponentMgr.registerType('menuseparator',... -
16 Oct 2009 11:34 AM
- Replies
- 10
- Views
- 1,853
that works, sort of. I have your new Ext.override and...
Ext.override(Ext.Button, {
constructor: Ext.Button.prototype.constructor.createInterceptor(function(config){
... -
16 Oct 2009 5:21 AM
- Replies
- 10
- Views
- 1,853
I tried something like what was in that post, which the post indicates didn't work for Ext.grid.ColumnModel, but that isn't a problem for me. And for the sake of testing, I tried this:
... -
16 Oct 2009 4:34 AM
- Replies
- 10
- Views
- 1,853
found this post:
http://www.extjs.com/forum/showthread.php?t=12181
so I tried this:
Ext.interceptConstructor = function(c, f) {
var r = function(){
f.apply(this, arguments);
... -
15 Oct 2009 11:48 AM
- Replies
- 10
- Views
- 1,853
any ideas at all?! Does my code at least look like it should work? Anything would be helpful.
Thx! -
15 Oct 2009 7:37 AM
- Replies
- 10
- Views
- 1,853
I also tried this:
Ext.override(Ext.Component, {
constructor: Ext.Component.prototype.constructor.createInterceptor(function(config){
config = mte.UI.getMergedConfig(config);
})... -
15 Oct 2009 6:13 AM
- Replies
- 10
- Views
- 1,853
anyone?
The other issue is that I wanted to also do this trick on a TextField but the overridden constructor is not called. I then tried to override Ext.Component since I really need to do this to... -
14 Oct 2009 8:28 AM
- Replies
- 10
- Views
- 1,853
I'm trying to merge some custom config for all menu items like so:
Ext.override(Ext.menu.BaseItem, {
constructor: function(config) {
config = mystuff.getMergedConfig(config);
...
Results 1 to 10 of 10
