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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:18:37+00:00 2026-05-22T00:18:37+00:00

In my jqgrid, I have a cell that has link in it.Currently when the

  • 0

In my jqgrid, I have a cell that has link in it.Currently when the user clicks this link the row is selected (I am using multiselect) I don’t want this,
Is there a way to not select the row when the user click in this particular cell with the link?
I have thought about doing a onCellSelect and then seeing if the current cell is selected and setting it back to the way it was before the cell was clicked. Not sure if this is the best way, or it is even possible. I can’t find a way to check if the current row is selected, nor can I find a way to change if a row is selected or not.
Any ideas would help.
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-22T00:18:38+00:00Added an answer on May 22, 2026 at 12:18 am

    If I understand you correct you can use beforeSelectRow event handler with the following code for example:

    beforeSelectRow: function(rowid, e) {
        var $link = $('a', e.target);
        if (e.target.tagName.toUpperCase() === "A" || $link.length > 0) {
            // link exist in the item which is clicked
            return false;
        }
        return true;
    }
    

    returning of the false value from the beforeSelectRow will prevent selection of the row.

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

Sidebar

Related Questions

i have jqgrid in form , i want when user click in row this
I have seen this code Sortable JqGrid using LINQ to MySQL (DbLinq) and Dynamic
I'm using a JqGrid in multiselect mode and recover the user's selection. The JqGrid
I am trying to format a cell on jqGrid so that when the user
I am using JQGrid I have it on 2 domains (same code)... On domain
hi all i have jqgrid and set update inline . i wrote this code
i starter in jqgrid, i want implement inline edit in jqgrid i have this
I have a jqgrid, where it has a custom formatter to column1. I need
JQgrid outputs this html for a left aligned cell - but it is too
I have a jqGrid on which clicking of a row should render a partial

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.