View Full Version : HTML-Editor is not editable after close Ext.Window

11 Jul 2014, 1:43 AM
Hey Community

I have a problem with a HTML-Editor.

In a Ext.Window I have a HTML-Editor, when I close the Ext.Window and reopen it the HTML-Editor is not selectable in the IE in firefox is everything fine.

When I just hide the window the HTML-Editor is selectable and editable.

The Window is called from a grid and i have to close the window because the row is blocked when the Window is open or hide.

The close function is follow:


Thanks for your help.

14 Jul 2014, 4:57 AM
How are you creating the editor within the window?

16 Jul 2014, 3:24 AM
The editor is created as an item.

xtype: 'fieldset',
title: 'Comment',
id: 'PattSetComment',
autoHeight: true,
collapsible: false,
style: 'width:100%',
layout: 'column',
border: false,
defaults: {
bodyStyle:'padding:0px 0px 2px 0px'
items: [{
xtype: 'spacer',
height: 10,
orientation: 'vertical'
xtype: 'htmleditor',
fieldLabel: 'Comment',
id: 'PattSetComField',
hideLabel: true,
enableFont: false,
enableColors: false,
frame: true,
layout: 'form',
enableKeyEvents: true,
height: 90,
width: 326,
readOnly: '',
hidden: '',
value: '',
enableFont: false,
enableLinks: false,
enableSourceEdit: false
//defaultValue: (Ext.isOpera || Ext.isIE) ? ' ' : '​',


18 Aug 2014, 1:06 AM
If I call the follow JavaScript function when I close the Ext.Window the htmleditor is editable when I reopen the window.


But the function reloads the complete page.
Is there an other way to get it editable after reopen?