PDA

View Full Version : Ext.BasicDialog?



techakone
17 Oct 2010, 1:47 PM
I am looking to use a modal dialog box in my application, where a user chooses information from a tree that will be returned once the modal box closes. I only found Ext.MessageBox in the ExtJS API. I looked around and it seemed there was a Ext.BasicDialog in ExtJS 2.0, so then what happened to it? Is there a component i can use that would achieve the same result?

Thanks in advance

plalx
17 Oct 2010, 5:08 PM
Well, it really is only a modal Ext.Window ... You can extend Ext.Window to create the component that you want...

Animal
17 Oct 2010, 9:03 PM
BasicDialog? That was Ext 1.0 wasn't it?

It's called Ext.Window now.

new Ext.Window({
height: 200,
width: 400,
title: 'Modal Window',
modal: true
}).show()
[/code]

http://dev.sencha.com/deploy/dev/docs/?class=Ext.Window