MD
1 Jul 2007, 2:37 PM
It appears that TreeEditor config params aren't overriding the defaults in ext-all/etc. For example, hideEl and shadow, I had to manually override the defaults to have it hide the underlying element and use the "sides" shadow type.
myTreeEditor = new Ext.tree.TreeEditor(artists_tree, {
cancelOnEsc: true,
hideEl: true, //<-HAD TO EDIT IN SOURCE TO EFFECT A CHANGE
ignoreNoChange: true,
revertInvalid: true,
shadow: 'sides', //<-HAD TO EDIT IN SOURCE TO EFFECT A CHANGE
selectOnFocus: true
});
//IN EXT-ALL.JS/ETC.
Ext.extend(Ext.tree.TreeEditor, Ext.Editor, {
alignment: "l-l",
autoSize: false,
hideEl : true, //<-HAD TO MANUALLY CHANGE THIS TO true FROM ITS DEFAULT false
cls: "x-small-editor x-tree-editor",
shim:false,
shadow:"sides", //<-HAD TO MANUALLY CHANGE THIS TO sides FROM ITS DEFAULT frame
maxWidth: 250,
myTreeEditor = new Ext.tree.TreeEditor(artists_tree, {
cancelOnEsc: true,
hideEl: true, //<-HAD TO EDIT IN SOURCE TO EFFECT A CHANGE
ignoreNoChange: true,
revertInvalid: true,
shadow: 'sides', //<-HAD TO EDIT IN SOURCE TO EFFECT A CHANGE
selectOnFocus: true
});
//IN EXT-ALL.JS/ETC.
Ext.extend(Ext.tree.TreeEditor, Ext.Editor, {
alignment: "l-l",
autoSize: false,
hideEl : true, //<-HAD TO MANUALLY CHANGE THIS TO true FROM ITS DEFAULT false
cls: "x-small-editor x-tree-editor",
shim:false,
shadow:"sides", //<-HAD TO MANUALLY CHANGE THIS TO sides FROM ITS DEFAULT frame
maxWidth: 250,