1. #1
    Sencha User tdikarim's Avatar
    Join Date
    Jun 2007
    Location
    Belgium - Brussel
    Posts
    142
    Vote Rating
    0
    tdikarim is an unknown quantity at this point

      0  

    Default wizard and panel

    wizard and panel


    Hi,

    How to have a wizard that contain a panel on each step.
    I have try this but the first card does nothing appear
    Code:
        var wizard2 = Ext.create('Ext.panel.Panel', {
    	    title: 'Example Wizard',
    	    width: 300,
    	    height: 200,
    	    layout: 'card',
    	    bodyStyle: 'padding:15px',
    	    defaults: {
    	        // applied to each contained panel
    	        border: false
    	    },
    	    // just an example of one possible navigation scheme, using buttons
    	    bbar: [
    	        {
    	            id: 'move-prev',
    	            text: 'Back',
    	            handler: function(btn) {
    	                navigate(btn.up("panel"), "prev");
    	            },
    	            disabled: true
    	        },
    	        '->', // greedy spacer so that the buttons are aligned to each side
    	        {
    	            id: 'move-next',
    	            text: 'Next',
    	            handler: function(btn) {
    	                navigate(btn.up("panel"), "next");
    	            }
    	        }
    	    ],
    	    // the panels (or "cards") within the layout
    	    items: [{
    	        id: 'card-0',
    	        items:[panel_myPanelTest]
    	    },{
    	        id: 'card-1',
    	        html: '<p>Step 2 of 3</p>'
    	    }]
    	});
    Thanks for your help

    Karim
    Tamditi Karim

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,627
    Vote Rating
    399
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Are you trying to nest another panel (panel_myPanelTest) inside the existing panel per step?

    Each step is already a panel itself.

    Scott.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar