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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:41:01+00:00 2026-05-23T10:41:01+00:00

Pretty straight forward here for those who have used jqGrid with form editing, the

  • 0

Pretty straight forward here for those who have used jqGrid with form editing, the jqGrid overlay to make the form edit dialog appear modal is using a ‘.jqmOverlay’ instead of the themed ‘.ui-widget-overlay’ for jquery.

I have attempted in afterShowForm event to remove the jqmOverlay and replace it with the ui-widget-overlay but the correct overlay (ui-widget-overlay) appears for a second before it reverts back to the incorrect (jqmOverlay).

It doesn’t appear that there are any later events that happend that I could try firing off of unless I am mistaken.

Any help would be appreciated.

afterShowForm: function (form)
    {
        var overlayDiv = $('.jqmOverlay');
        overlayDiv.removeAttr('class');
        overlayDiv.attr('class', 'ui-widget-overlay');
        //$('.jqmOverlay').attr('class', 'ui-widget-overlay');                       

    }
  • 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-23T10:41:02+00:00Added an answer on May 23, 2026 at 10:41 am

    The form editing supports two different overlays: the standard 'ui-widget-overlay' and jqModal from jqModal.js.

    If you don’t want use jqModal plugin you can include jqModal:false property in the list of option of Add or Edit settings. In the case the overlay will be the following:

    <div style="display: block;" id="lui_list" class="ui-widget-overlay jqgrid-overlay"/>
    

    (here war used the grid where the <table> element has id=”list”)

    If you want remove the overlay you can hide it with respect of

    afterShowForm:function(){
        $("#lui_"+grid[0].id).hide(); // hide #lui_list overlay
    }
    

    where grid is defined like var grid=$("list");

    UPDATED: If you want you can hide the overlay of the grid like I described before and create your own overlay having the class ‘ui-widget-overlay’. I created the demo, which works in my tests without the problem which you describe. I used the following options of the Edit dialog:

    recreateForm:true,
    jqModal:false,
    reloadAfterSubmit:false,
    savekey: [true,13],
    closeOnEscape:true,
    closeAfterEdit:true,
    afterShowForm:function(){
        $("#lui_"+grid[0].id).hide();
        $('body').prepend('<div class="ui-widget-overlay" id="My_list" style="left: 0px; top: 0px; width: 100%; height: 100%; position: fixed; z-index: 949; opacity: 0.3;"/>');
    },
    onClose:function(){
        $('#My_list').remove();
    }
    

    Probably you should change the value of opacity or z-index to use it better in your application. Be careful with the setting of z-index. If you need increase it you can probably need to use additional value of the zIndex of the Edit properties.

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

Sidebar

Related Questions

This is pretty straight forward. EDIT: Updated question and added fourth echo. Here is
I have a pretty straight forward task - Given the URL of a video,
Pretty straight forward question, I have a GtkEntry widget that I want to set
My question is hopefully pretty straight forward. Upon submitting my form, I would like
My situation is pretty straight forward. I have a server configured with max_allowed_packet set
Well, I'm gonna be pretty straightforward here, I just have a piece of code
I've got a pretty straight forward question regarding viewing text in Firefox. My application
this may sound pretty straight forward, but still I want to post this question
So my issue is pretty straight forward, since there is seemingly no callback for
This seems like it should be pretty straight forward, but I'm apparently confused. I

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.