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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:02:15+00:00 2026-06-18T01:02:15+00:00

I am using the following code to render a message box to a specific

  • 0

I am using the following code to render a message box to a specific div in my application.

I would like to only mask out the div i render to and position the message box and buttons in the centre of the div.

The modal appears over the whole document which is undesirable and the message box is not centred in the div either. Cannot see a way to configure this to the desired result.

Ext.Msg.show({
    title: 'Access',
    msg: 'You do not have access to the current client, would you like access?',
    buttons: Ext.Msg.YESNOCANCEL,
    icons: Ext.Msg.QUESTION,
    renderTo: Ext.get('client-reports-tab'),
    modal: false
});

I tried just with a loading mask and that just masks the div but does not give me the calls to actions:

Ext.get('client-reports-tab').mask('You do not have access to this client, <a href="javascript:void()" class="client-coverage">please request access<\/a>', 'cct-msg-mask');

Please escuse the javascript:void() it won’t be going into the production version 🙂

  • 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-18T01:02:17+00:00Added an answer on June 18, 2026 at 1:02 am

    Solved with alignTo:

    var msg = Ext.Msg.show({
                title: 'Access',
                msg: 'You do not have access to the current client, would you like access?',
                buttons: Ext.Msg.OK,
                icons: Ext.Msg.QUESTION,
                modal: false
            });
    
    msg.alignTo(Ext.get('client-reports-tab'), 'c-c');
    

    With help from:

    Applying loadMask() to a single element in extjs?

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

Sidebar

Related Questions

I'm using the following code to render a gridview to an XLS file on
I am using the following code to make a HttpWebRequest and render the XML
I'm using the openFrameworks ofxPango addon to render text with following code: ofxPango* pango;
I'm using jQuery with rails and have the following piece of code $('#related').html(<%= render
I'm using a flash notice in a Rails application, with the following code: flash[:notice]
I am using grails 2.0.1 and overriding render method. i have the following code.
I'd like to have an ASP.NET application write to a message queue using RabbitMQ's
I'm using the following code to render my jQuery UI autocomplete items as HTML.
Using following code I try to get updated list of checkbuttons' corresponding text values,
I using following code: var search = 'test'; if ($('#sku').find(search) ){ //alert(search); $(document).find(search).css('color','red'); <TABLE>

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.