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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:11:35+00:00 2026-06-06T04:11:35+00:00

I have this Grails application wherein I installed JQuery, JQuery-UI, and JQGrid plugin. I

  • 0

I have this Grails application wherein I installed JQuery, JQuery-UI, and JQGrid plugin.
I have this GSP wherein I need to display multiple JQGrid.

Here’s the sample script of the page.

<jq:resources />
<jqui:resources />
<jqgrid:resources />
<script type="text/javascript"> 
$(document).ready(function() { 
   <jqgrid:grid id="type1List" 
      url="'${createLink(action: 'listType1', controller:'draft', params:[selectionDate: selectionDate])}'"
      ...
      datatype="'json'"> 
   </jqgrid:grid>
   <jqgrid:grid id="type3List" 
      url="'${createLink(action: 'listType3', controller:'draft', params:[selectionDate: selectionDate])}'"
      ...
      datatype="'json'"> 
   </jqgrid:grid>                
});
</script>   

And here’s the wrapper on the inside the body tag

<p>Type 1</p>
<jqgrid:wrapper id="type1List" />
<p>Type 3</p>
<jqgrid:wrapper id="type3List" />

And the DraftController where both jqgrid are referred from contains two methods: listType1() and listType3(). Both of the methods have this ending statement, render jsonData as JSON where the jsonData follow the format presented here.

Unfortunately, I can’t display both JQGrid properly. I can only display the type1List having to remove the codes concerning the type3List. How can I display both JQGrids properly after the document is ready or have loaded?

Thanks.

  • 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-06T04:11:37+00:00Added an answer on June 6, 2026 at 4:11 am

    I think you would benefit from leaving the plugin alone and using the jqgrid directly. It’s really just as easy as learning to use the plugin tags and will make your life much easier in the long run if you start wanting to do more complex tasks with the grid.

    Check the Grails & JQGrid tutorial I wrote to see what I mean : http://www.grailsforum.co.uk/showthread.php/3-Grails-jQuery-amp-the-jQuery-Grid-Part-One

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

Sidebar

Related Questions

Here is the scenario. I have an file outside of my Grails application that
I already have an grails web application, And our project need CAS, however I
I have this task: realize Grails application with ExtJS. And one part of this
I have an existing grails application that uses spring-security plugin for authentication. I would
i have a grails application and i'm following the tutorial here: http://www.grails.org/Services i have
I'm working on a Grails application and I need to display some reports and
I have a grails application. When I finish the web design of this project,
I have two script in my grails application, how can I need a target
I have a grails application with a JavaCC parser integrated. In this parser I
This is my current scenario: I have checked in my grails app code +

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.