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 8765777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:22:22+00:00 2026-06-13T16:22:22+00:00

I am new in extjs and I am trying to create a customized alert

  • 0

I am new in extjs and I am trying to create a customized alert using Extjs4 but I haven’t been successful doing so, the main idea is basically to add the company logo on the left side of the window, and the icon of the type of message and the message text aligned to the right side of the window. I tried different approaches but is not working, I tried to create a new window and adding panels, I tried to customize a regular Ext.Msg.show adding items to its properties but they are never displayed, can anybody give me an idea how to get this done or what approach is the best? I’ve been 2 days trying but I can’t make it work and I am running out of ideas. I am attaching the code I did now, many thanks!!:

 Ext.Msg.show({
                    title:title,
                    msg: msg,
                    height: 200,
                    width: 300,
                    layout: 'fit',
                    items: {
                        xtype: 'panel',                           
                        html: '<img src="http://localhost:8080/anylogo/companylogo.gif" />' 
                    },
                    buttons: Ext.Msg.OK,
                    icon: Ext.Msg.WARNING
                });
  • 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-06-13T16:22:23+00:00Added an answer on June 13, 2026 at 4:22 pm

    It’s a matter of style. You can assign a CSS class to the message box via cls config:

    Ext.Msg.show({
        cls: 'alignright-with-logo'
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ExtJS to create a formPanel: new Ext.FormPanel({ labelAlign: 'top', title: 'Loading Contact...',
I'm trying to create a mini browser inside a window using extJS. Here's what
I was trying to render a simple piechart using ExtJs 3.0 but could not.
I'm trying to learn the new MVC architecture that ExtJS 4 is using and
I'm new to Extjs 4 and I'm trying to understand how to create a
I am making a web-based logviewer using extjs. I would like new log-lines to
I'm using extjs and just trying to solve a simple problem: I have a
Hi I am trying to develop a simple form in extjs, but the problem
I'm using ExtJs4 and I'm trying to extend the Ext.form.field.ComboBox like below: Ext.define('GenericCombo', {
I am new to ExtJS 4 and am trying to implement a simple application

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.