-
26 Nov 2011 5:51 AM #1
Unanswered: How to develop Custom Dialog(popup) BOX using sencha touch?
Unanswered: How to develop Custom Dialog(popup) BOX using sencha touch?
I am new to the sencha development. I have been trying to find, how to develop a custom DIALOG BOX with fields like 2 or 3 TextBoxes and 3 Action Buttons in the same dialog(or) popup window? is there any posibilities using "Overlays" concept ? please provide me sample or link if any ....
thankx
khadar
-
27 Nov 2011 7:29 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
What version of Sencha Touch so I can move this thread to the appropriate forum?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
4 Dec 2011 8:57 AM #3
-
4 Dec 2011 8:58 AM #4
-
5 Dec 2011 1:31 AM #5
That's really simple to achieve.
You should create a new Panel with the following config:
Code:var overlay = new Ext.Panel({ overlay: true, centered: true, width: 400, height: 400, layout: 'fit', scroll: 'vertical', dockedItems: [ { xtype: 'toolbar', dock: 'bottom', defaults: { ui: 'action' }, items: [ { text: 'Button1' }, { text: 'Button2' }, { text: 'Button3' } ] } ], items: [ { xtype: 'formpanel', items: [ { xtype: 'textfield', label: 'Field1' }, { xtype: 'textfield', label: 'Field2' }, { xtype: 'textfield', label: 'Field3' } ] } ] });Sencha Inc
Andrea Cammarata, Solutions Engineer
CEO at SIMACS
@AndreaCammarata
www.andreacammarata.com
github: https://github.com/AndreaCammarata


Reply With Quote