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

  • Home
  • SEARCH
  • 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 7541325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:51:47+00:00 2026-05-30T07:51:47+00:00

I am using Ext.js 4. I have a panel which contains log messages returned

  • 0

I am using Ext.js 4. I have a panel which contains log messages returned from the server.

The following will append the most recent messages to the that panel:

// show log on the log panel
logPanel.add( { xtype: 'box', autoEl: { cn: theText } } );

I also add a separator bar between messages:

// add a separator bar
logPanel.add( { xtype: 'box', autoEl: { html: '<hr/>'} } );

I thought about clearing the panel before adding new messages, so only the most recent messages appear, and this works (when placed before the above):

// the following will remove prior log messages...
logPanel.removeAll();

But what I would really like to do is simply put the most recent messages BEFORE the previous messages (the default action of the add method is AFTER).

Any suggestions on how I could do that? Thanks in advance.

  • 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-30T07:51:48+00:00Added an answer on May 30, 2026 at 7:51 am

    Use the insert method: http://docs.sencha.com/ext-js/4-0/#!/api/Ext.container.AbstractContainer-method-insert

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an MVC app in Extjs 4 which has a View (extending Ext.panel.Panel
I am using extjs grid, and I have a jQuery timer, which will call
I have the following very simple Ext JS 4 script which is supposed to
In Sencha Touch, I often need to have an Ext.DataView panel that contains a
I am using the following code to work out an inc and ext VAT
I am using ExtJS Forms. My form code is as follows: Ext.create('Ext.form.Panel', { width:
I have a border layout set on a widget using Ext-GWT. Is there a
I have a program that monitors debug messages and I have tried using a
I have a varable var file = "testfile.txt"; I am using the following script
I have a button in a panel which gets rendered inside a window. And

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.