PDA

View Full Version : [CLOSED] Ext.Msg - How to



adelaney
Aug 28, 2012, 7:26 PM
I am using Ext.Msg.show to display my error messages to my application users, and that works fine, except I have some instances where the error needs to generate a lot of details for debugging/troubleshooting, etc. I noticed that the Ext.Msg, has a multiline property that can be set to true. How do I set the text of that multiline to be the "details" of my error, but still display a nice, short "summary" error as normal?

Daniil
Aug 29, 2012, 5:31 AM
Hi,

The "multiline" config option is for prompt.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.window.MessageBox-method-prompt

I think you just need to generate HTML with respective CSS for a MessageBox to get a view you need.

adelaney
Aug 29, 2012, 2:06 PM
That's what I wound up doing. Feel free to close the thread.