PDA

View Full Version : Ext.form.Panel vs Ext.window



renganathan
25 Jun 2014, 3:21 AM
Hi All,

Is there any way to set the "Ext.window" look and feel to "Ext.form.Panel" ?

I am using Ext.form.Panel but i want to show like Ext.window.

Any ideas?

Phil Guerrant
26 Jun 2014, 9:00 AM
Use the "floating" config to make your form float above the rest of the content, and "draggable" to enable dragging the header. For example:



Ext.create({
xtype: 'form',
title: 'Form',
floating: true,
draggable: true,
items: [{ xtype: 'textfield' }]
}).show();

renganathan
26 Jun 2014, 10:40 PM
Thanks for the reply.

Let me rephrase my question,

This is the snapshot of the form panel using Extjs 4.x

49492


I want to achieve like below picture


49493

renganathan
2 Jul 2014, 12:28 AM
Any idea ? How to do this?