1. #1
    Sencha User
    Join Date
    Oct 2008
    Posts
    70
    Vote Rating
    -2
    Trinad can only hope to improve

      0  

    Default How to render check boxes in to 3 columns

    How to render check boxes in to 3 columns


    Hi,

    Any idae how to render check boxes in to 3 column layout.

    Thanks,
    Trinad.

  2. #2
    Ext User soze's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    108
    Vote Rating
    0
    soze is on a distinguished road

      0  

    Post Use the Columns property

    Use the Columns property


    Put your checkboxes in a checkbox group and set the columns property to 3.

    Code:
    {xtype:'checkboxgroup',columns: 3,width:200,allowBlank: false,
    	name: 'cBGroup',
    	items: [
    		{boxLabel: 'APAC', name:'regionAPAC'},
    		{boxLabel: 'EMEA', name:'regionEMEA'},
    		{boxLabel: 'UK', name:'regionUK'},
    		{boxLabel: 'US', name:'regionUS'}// this should appear on a new line.
    	]}

Thread Participants: 1