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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:28:35+00:00 2026-05-26T08:28:35+00:00

In a jqgrid grid, I have a checkbox as first column and some other

  • 0

In a jqgrid grid, I have a checkbox as first column and some other columns. When I click on the row (everywhere) the checkbox switch to checked or to unchecked.

Could you tell me how “click” event on all row ? I’d like to do this after the grid generation because the grid is created by a framework.

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-05-26T08:28:36+00:00Added an answer on May 26, 2026 at 8:28 am

    You can use the setGridParam method to register a beforeSelectRow event handler on an existing grid. That handler should return false to cancel the selection operation.

    In your case, you can use the the is() method on the target property of the event in order to determine if the click was initiated on the check box. The end result would be something like:

    $("#yourGrid").jqGrid("setGridParam", {
        beforeSelectRow: function(rowId, e) {
            return $(e.target).is("input:checkbox");
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using jqgrid 3.8. I have a grid which is having some editable
I have jqGrid with two columns, one being hidden. For some reason in FireFox
I have a fairly complex grid with two columns formatted as a checkbox. Those
Suppose I have the following (shortened for simplicity): jQuery(#grid).jqGrid({ ... ondblClickRow: function() { //
I have a jqGrid on a page and users can click a button to
I have a jqGrid in an ASP.Net MVC. The grid is defined as: $(#list).jqGrid({
I have the below code in my jqgrid <script type=text/javascript> jQuery(document).ready(function() { var grid
I need help with filtering rows from jqgrid. I have a grid with large
I have a problem with my jqGrid. I have seen other posts here with
Suppose I have the following (shortened for simplicity): jQuery(#grid).jqGrid({ ... ondblClickRow: function(rowid) { //

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.