Results 1 to 5 of 5

Thread: EXT JS Config & Control List

  1. #1
    Sencha User
    Join Date
    Nov 2015

    Default Answered: EXT JS Config & Control List

    Hello I'm new to EXT JS & still learning the framework. I want to know if there is anyway to know the controls available to the configs.
    Below is my code:
    new Ext.Viewport({ 
        layout: 'border',     
    items: [{         
    region: 'north',         
    html: '<h1 class="x-panel-header">Page Title</h1>',         
    autoHeight: true,         
    border: false,         
    margins: '0 0 5 0'     
    I want to know where shall i get the controls like 'region', 'border' etc?
    I've searched the ExtJS documentation but didn't find any clue about my issue. please help & guide me to solve this problem & learn this framework.

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Sydney, Australia
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2015


    What do you mean by "controls available to the configs"?
    You have guides here: check the core concepts part and look examples.
    In your example you are missing a center component in your items, something like
      region : 'center'
      xtype : 'container',
      html : 'This is my main container'

  4. #4
    Sencha User
    Join Date
    Nov 2015


    Thanks Evant. These have solved my query.
    I was confused between configs and component-configs.

  5. #5
    Sencha User
    Join Date
    Nov 2015


    A. Llorente
    I didn't know the term- "component-config". So I reffered those as "controls available to the configs". pardon.

Similar Threads

  1. Mixins, config:{} and control inconistencies
    By The0s in forum Ext 5: Q&A
    Replies: 2
    Last Post: 31 May 2017, 11:39 AM
  2. [DUP] <textarea> control is disabled when inserted into the item template of List control
    By Pradyumna_Naik in forum Sencha Touch 2.x: Bugs
    Replies: 1
    Last Post: 18 Jun 2013, 5:26 AM
  3. Control Controller Config Issue
    By mjgallag in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 23 Oct 2012, 12:42 PM
  4. Control over Ext.Loader config options
    By bseddon in forum Sencha Architect 2.x: Help & Discussions
    Replies: 1
    Last Post: 18 Mar 2012, 11:17 AM
  5. Change config for tab control dynamically
    By tBSTAR in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 13 Jan 2009, 10:51 AM

Posting Permissions

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