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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:31:34+00:00 2026-05-25T11:31:34+00:00

If row is saved in inline edit in jqGrid, FireFox makes grid dim (

  • 0

If row is saved in inline edit in jqGrid, FireFox makes grid dim ( grayd out) during save operation.

Internet Explorer 9 does not change grid appearance.

loadui parameter is not used so it should have its default value (enabled).
If grid is refreshed, it is not grayed out in both browsers as expected.
Gray out occurs during save in FireFox only.

How to gray out grid in save (if edit url is called) in Internet Explorer 9 also?

Update

Steps to reproduce:

  1. Open http://trirand.com/blog/jqgrid/jqgrid.html
  2. Select

Functionality (4.0) new

Formatter actions

  1. Click in edit action button

  2. Click in save action button

Observed:

In FireFox click in save button makes grid darker for a while
In IE 9 click in save button does not change grid.

  • 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-25T11:31:34+00:00Added an answer on May 25, 2026 at 11:31 am

    I analysed the problem. The reason is the line used in the inline editing:

    async : false, //?!?
    

    (the comment “?!?” is the original comment in jqGrid code). So in general the overlay which block the grid will be shown at the beginning of the jQuery.ajax request which save the row, but because of async : false the GUI of the web browser will be blocked till the completion. In the complete event handle the overlay will be hidden and the user can’t see anything. All web browsers excepting Firefox don’t show the overlay.

    To fix the problem without changing of jqGrid code one can use ajaxRowOptions option of jqGrid. The option is documented not in the common list of jqGrid options, but at the end of the saveRow documentation. The usage of

    ajaxRowOptions: { async: true }
    

    as the jqGrid option or as the new default option

    $.extend($.jgrid.defaults, {
        ajaxRowOptions: { async: true }
    });
    

    will solve the problem in case of inline editing.

    In case of usage of ‘actions’ formatter another problem from the line exist

    if ( $('#'+gid).jqGrid('saveRow',rid,  op.onSuccess,op.url, op.extraparam, saverow, op.onError,restorerow) ) {
        $("tr#"+rid+" div.ui-inline-edit, "+"tr#"+rid+" div.ui-inline-del","#"+gid+ ".ui-jqgrid-btable:first").show();
        $("tr#"+rid+" div.ui-inline-save, "+"tr#"+rid+" div.ui-inline-cancel","#"+gid+ ".ui-jqgrid-btable:first").hide();
    }
    

    one can see that here jqGrid use the saveRow as really as asynchronous function here. If you will use ajaxRowOptions: { async: true } you will have to make divs div.ui-inline-edit and div.ui-inline-del visible and hide div.ui-inline-save and div.ui-inline-cancel inside of your onSuccess event handler.

    UPDATED: Sorry another code of – the saverow functions used as parameter of saveRow method do the same work. So I think all divs will be shown/hidden correctly without any additional code in your onSuccess event handler.

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

Sidebar

Related Questions

My requirement is, If I click a row in jqgrid with inline edit feature.
jqGrid inline edit starts on single in click by onSelectRow event below. Save and
Below I have the code that allows me to edit a table row inline.
jQgrid row is edited using inline editing mode. Pressing Enter sends data to server
I've implemented a jqgrid with inline edit: var lastSel; jQuery(document).ready(function () { jQuery(#list).jqGrid({ url:
I'm using the built-in 'action' formatter to edit inline (row editing) and to delete.
I'm building a completely client side grid however if I enable inline editing, the
Well After you edit in a row in this table i've created on focusout
Using the ASP.NET grid view. It displays 3 columns with 1 row for each,
I'm developing a page where i need to show a jqGrid with inline editing

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.