Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6591033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:22:25+00:00 2026-05-25T17:22:25+00:00

Here is my add item code: myapp.cards.vehicleInfo.items.add( new Ext.List({ …}) ) If after this

  • 0

Here is my add item code:

myapp.cards.vehicleInfo.items.add(
       new Ext.List({ ...})
)

If after this I then do:

myapp.cards.vehicleInfo.items.add(
        new Ext.Panel(
        {html: 'test' }
        )
    );

The panel with ‘test’ appears on top of my list (overlapping), rather than vertically below it. I have tried doing a componenet dolayout inbetween adding the two items.

Any ideas? If I only do one or the other of the above it works as expected but if I do both together it leads to the above behaviour.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:22:25+00:00Added an answer on May 25, 2026 at 5:22 pm

    You should dock the panel to the bottom.

    myapp.cards.vehicleInfo.dockedItems.add( new Ext.Panel(
        {html: 'test' }
        )
    );
    

    Update

    Ext.regModel('Contact', {
        fields: ['firstName', 'lastName']
    });
    
    var store1 = new Ext.data.JsonStore({
        model  : 'Contact',
        data: [
            {firstName: 'Tommy',   lastName: 'Maintz'},
            {firstName: 'Rob',     lastName: 'Dougan'},
            {firstName: 'Ed',      lastName: 'Spencer'},
            {firstName: 'Jamie',   lastName: 'Avins'},
            {firstName: 'Aaron',   lastName: 'Conran'},
            {firstName: 'Dave',    lastName: 'Kaneda'},
            {firstName: 'Michael', lastName: 'Mullany'},
            {firstName: 'Abraham', lastName: 'Elias'},
            {firstName: 'Jay',     lastName: 'Robinson'},
            {firstName: 'Tommy',   lastName: 'Maintz'},
            {firstName: 'Rob',     lastName: 'Dougan'},
            {firstName: 'Ed',      lastName: 'Spencer'},
            {firstName: 'Jamie',   lastName: 'Avins'},
            {firstName: 'Aaron',   lastName: 'Conran'},
            {firstName: 'Dave',    lastName: 'Kaneda'},
            {firstName: 'Michael', lastName: 'Mullany'},
            {firstName: 'Abraham', lastName: 'Elias'},
            {firstName: 'Jay',     lastName: 'Robinson'}
        ]
    });
    
    new Ext.Application({
        launch: function() {
           var panel =  new Ext.Panel({
                fullscreen: true,
                id:'thePanel',
                layout: 'vbox',
                style: 'background-color:darkblue',
                scroll:'vertical'
            });
    //do this in your dynamically called function
        var list = new Ext.List({
            id :'theList',
            itemTpl : '{firstName} {lastName}',
            store: store1,
            width: '100%',
            scroll:false
        });
    
    
    var smallPanel = new Ext.Panel({layout: 'auto',width:'100%',height:200,style:'background-color:darkgreen;color:white',html:"Hello I'm the panel"});
        panel.items.add(list);
        panel.items.add(smallPanel);
        panel.doLayout();               
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I usually use this code to add item from datebase to list view: public
Here is my code: Order order = new Order { ... }; OrderItem item
Recently I asked here how to add a new JPanel to JFrame . The
I am new to SVN. SVN-add is here to 'prepare a file to be
here my simple code to add filename and their associated icon to virtualtreeview PFileInfoRec
Here is an old add in to quickly comment out HTML code. Maybe I
Here is the jsfiddle : http://jsfiddle.net/hhimanshu/sYLRq/ Current Click on Add to list and drop-down
Here's the line from App.Config: <add key=CheckFileFormatString value=P{0}\t&quot;{1}, {2}&quot;\t{3}\t{4}\t{5}\t{6}\t{7}\t{8}\t{9}\t{10}/> Here's the code that puts
I've got this piece of code from a Backbone.js tutorial from here . The
Some times ago I asked a question here How to add an item in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.