Results 1 to 3 of 3

Thread: Radio Group / Checkbox Group layout as an object

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    France
    Posts
    321

    Default Radio Group / Checkbox Group layout as an object

    It's not possible to declare a layout as an object for Radio Group and Checkbox Group.
    There is only the combobox with the different layout to chose.

  2. #2

    Default

    There is no support for type of layout other than predefined strings. You have to use Process Config and add object type layout manually.
    object-layout.png

  3. #3
    Sencha User
    Join Date
    Dec 2008
    Location
    France
    Posts
    321

    Default

    But for fieldset, it's possible in Sencha Architect :

    fielset_layout.png


    And in the Kitchen Sinks Checkout Form example, we can see, without Process Config :

    Code:
        {
                xtype: 'radiogroup',
    
                layout: {
                                          autoFlex: false
                                },
    
                defaults: {
                    name: 'ccType',
                    margin: '0 15 0 0'
                },
    
                items: [{
                    boxLabel: 'VISA',
                    inputValue: 'visa',
                    checked: true
                }, {
                    boxLabel: 'MasterCard',
                    inputValue: 'mastercard'
                }, {
                    boxLabel: 'American Express',
                    inputValue: 'amex'
                }, {
                    boxLabel: 'Discover',
                    inputValue: 'discover'
                }]

Similar Threads

  1. [FIXED] Can not create custom property 'Layout' as object for radiogroup
    By pcazella in forum Sencha Architect 2.x: Bugs
    Replies: 2
    Last Post: 19 Mar 2013, 11:11 AM
  2. Replies: 2
    Last Post: 6 Dec 2010, 5:38 AM
  3. Issue with Layout/FormPanel/Card Layout/RadioGroup
    By LedrickLeron in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 30 Jan 2009, 3:04 PM

Posting Permissions

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