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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:07:36+00:00 2026-05-30T17:07:36+00:00

Any ideas why multiple calls to a function that does the following grid.jqGrid(‘GridUnload’); createGrid();

  • 0

Any ideas why multiple calls to a function that does the following

grid.jqGrid('GridUnload');
createGrid();

Will only create the grid every other time, but …

The following will work everytime it is called:

grid.jqGrid('GridUnload');
setTimeout(createGrid, 1000);
  • 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-30T17:07:37+00:00Added an answer on May 30, 2026 at 5:07 pm

    You don’t included the code of createGrid so I can only guess. One possible reason is that you use grid variable inside. If you use GridUnload the old <table> element will be deleted and another one will be created on the same place. So you should reset the value of grid after call of GridUnload:

    var gridId = grid[0].id; // or grid.attr('id');
    grid.jqGrid('GridUnload');
    grid = $('#' + $.jgrid.jqID(gridId)); // or just $('#' + gridId);
    createGrid();
    

    The method $.jgrid.jqID you have to use only if the id of the grid can hold some meta-character.

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

Sidebar

Related Questions

Any idea how to return multiple variables from a function in ActionScript 3? Anything
I'm trying to create a universal function that I can call from multiple places
Possible Duplicate: Multiple ajax calls inside a each() function.. then do something once ALL
Does anybody have any tips for utilizing multiple languages at the same time? I
What is the best way to unit test a method that calls into multiple
I'm writing a chat function that one user might chat with multiple ones at
Any idea how to join multiple tables in ssis programatically using Merge Join ?
Any ideas on how to implement tab completion for a .NET (C#) Console Application?
Any ideas what the average user's download speed is? I'm working on a site
Any ideas how to determine the number of active threads currently running in an

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.