X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/source/ColorMenu.html?ds=sidebyside diff --git a/docs/source/ColorMenu.html b/docs/source/ColorMenu.html index c15b62d5..8830d643 100644 --- a/docs/source/ColorMenu.html +++ b/docs/source/ColorMenu.html @@ -1,5 +1,6 @@ + The source code @@ -45,6 +46,14 @@ */ hideOnClick : true, + cls : 'x-color-menu', + +
/** + * @cfg {String} paletteId + * An id to assign to the underlying color palette. Defaults to null. + */ + paletteId : null, +
/** * @cfg {Number} maxHeight * @hide @@ -74,7 +83,9 @@ Ext.apply(this, { plain: true, showSeparator: false, - items: this.palette = new Ext.ColorPalette(this.initialConfig) + items: this.palette = new Ext.ColorPalette(Ext.applyIf({ + id: this.paletteId + }, this.initialConfig)) }); this.palette.purgeListeners(); Ext.menu.ColorMenu.superclass.initComponent.call(this);