Results 1 to 3 of 3

Thread: Sencha touch Container collapsible

  1. #1
    Sencha User Sameer Khan's Avatar
    Join Date
    Oct 2011
    Location
    Bangalore, India
    Posts
    115
    Vote Rating
    0
      0  

    Default Sencha touch Container collapsible

    Hi, I want to use collapsible in my panel for all the containers...But there is no such option to do collapsible for container / fieldset... How can i do that ? But in Ext Js support is there ?
    Any body please give me solution...

    Awaiting for your reply...Thanks...

    Following is my code :
    {
    xtype: 'container',
    layout:'hbox',
    margin:'5 0 0 0',
    items:[{
    xtype: 'component',
    html:'<h2 class="fieldbar">MSW referral needed for?</h2>',
    flex:1.08,
    },{
    xtype: 'textfield',
    name: 'communitymsw',
    labelWidth:'50%',
    flex:0.5,
    },{
    xtype: 'component',
    html:'<h2 class="fieldbar">&nbsp;</h2>',
    },{
    xtype: 'selectfield',
    name: 'communityselect6',
    store:immunization,
    valueField:'val',
    displayField:'lbl',
    flex:0.55,
    labelWidth:'50%'
    }]
    },
    Sameer Khan

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,291
    Vote Rating
    1469
      0  

    Default

    You have to set the height of the panel. By default there is no animation but if you setup the CSS transforms to translate it via the width it will animate.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User Sameer Khan's Avatar
    Join Date
    Oct 2011
    Location
    Bangalore, India
    Posts
    115
    Vote Rating
    0
      0  

    Default Require Some Sample Code

    Hi thanks for the reply...

    I need some sample code on my above example..If possible plz give some code on it...

    Awaiting for your reply
    Sameer Khan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •