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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:06:51+00:00 2026-06-09T22:06:51+00:00

Using jqGrid (4.4) with Grails (2.0.3). I have a grid with checkbox columns. Data

  • 0

Using jqGrid (4.4) with Grails (2.0.3).

I have a grid with checkbox columns. Data is local and not using Grails editUrl property to submit data. I’m submitting the entire page to the backend controller using a regular submit button.

Here’s the rub …
Say the grid contains 5 rows and the 5 checkboxes (indexes 0-4) have values of (true, false, true, true, false). What gets to the controller via the params map is an array of 3 checkbox values, all true with indexes 0, 1, 2. So, only the ‘true’ values are passed to the controller, but I have no idea which row they belong to.

Please advise. Thanks in advance.

  • 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-09T22:06:53+00:00Added an answer on June 9, 2026 at 10:06 pm

    Not specific to grails, this is just a common html/webdevelopment question.

    1. Unchecked checkboxes aren’t sent to the server when form is submitted.
    2. And you dont have to keep the submitted value of a checkbox to true, you can use any custom value (the value attribute) and then on server you can identify which checkboxes where checked based on the values

    See this thread as well

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

Sidebar

Related Questions

Hi I'm using jqgrid to show some information in a grid. But I have
I am using jqgrid with local data and I know how to edit a
I'm using jqGrid's filterToolbar method to let users quick search/filter the grid data. I'm
I'm using jqGrid Tree grid for displaying some hierarchical data. I've to implement the
I am using Jqgrid to show some data, using DataType as local, I don't
My problem is the following : - i'm using jqgrid to display local data
I'm using jqGrid and I have a problem getting Dynamic Linq to work. I
I am using JQGrid I have it on 2 domains (same code)... On domain
I am using jqGrid ( http://www.trirand.com/blog/ ) to display some read-only data. The resizeable
We are using jqGrid in local mode and as part of our ajax call

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.