PDA

View Full Version : [FIXED-EXTJSIV-1792]Window's preventHeader configOption causes failure



mhoover12
28 Apr 2011, 1:52 PM
Took a sample from the documentation to create a Window. Ran it and it worked fine.

When I add the config option:

preventHeader: true

I get a runtime error of 'header.id' is null or not an object.

The window does contain a Draw Component, if that matters.

evant
28 Apr 2011, 5:39 PM
I don't really see why you'd do that, since the whole point of the window is being able to drag it with a header!

Regardless, will be fixed in the next release, thanks for the report.

mhoover12
29 Apr 2011, 7:38 AM
Well to be honest, I just started working with 4 and have been getting errors putting a Draw Component on anything else. Might be a separate error, not sure, but my attempts to put it on a panel or continer have been met with errors. Window worked though, and I just wanted to get rid of the header on it and focus on the Draw Component.

Of course, my motivation doesn't really matter...if the config option is going to be available, it probably ought to work ;)

Thanks for taking this into account.