1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    21
    Vote Rating
    0
    khadarmeeran is on a distinguished road

      0  

    Default 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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    Answers
    3113
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    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.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    21
    Vote Rating
    0
    khadarmeeran is on a distinguished road

      0  

    Default


    working on 1.1.1

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    21
    Vote Rating
    0
    khadarmeeran is on a distinguished road

      0  

    Default


    Sencha 1.1.1 version

  5. #5
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,384
    Vote Rating
    14
    Answers
    148
    AndreaCammarata will become famous soon enough AndreaCammarata will become famous soon enough

      0  

    Default


    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