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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:42:50+00:00 2026-06-02T00:42:50+00:00

I am using cell editing in jqgrid and for that, i am using many

  • 0

I am using cell editing in jqgrid and for that, i am using many different jqgrid events, as mentioned below …
1) beforeSelectRow, 2)beforeEditCell, 3)afterEditCell, 4)onCellSelect, 5)ondblClickRow, etc…

Now, when i doubleClick on any of the row, the beforeselectRow code gets executed first.. which i want to prevent… but how to do that ??

Some example code is as below :-

ondblClickRow: function(id,irow,icol,e)
{
  ........
},
beforeSelectRow : function(rowid, e) 
{   

    if(rowid==lastSelected)
    {
        $sampleDialog.dialog('open');
    }
}
  • 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-02T00:42:51+00:00Added an answer on June 2, 2026 at 12:42 am

    Different web browsers process the double-click event in a little different ways. So in general you can’t prevent ‘click’ event before ‘dblclick’. The callback beforeSelectRow will be called inside of click enevt handler defined inside of jqGrid code. In jQuery documentation of dblclick event handler you can read the following (see here):

    It is inadvisable to bind handlers to both the click and dblclick
    events for the same element. The sequence of events triggered varies
    from browser to browser, with some receiving two click events before
    the dblclick and others only one. Double-click sensitivity (maximum
    time between clicks that is detected as a double click) can vary by
    operating system and browser, and is often user-configurable.

    What you currently do is just not recommended way to binding both ‘click’ and ‘dblclick’ handles.

    You don’t describe the original problem which you has which is probably somewhere inside of ondblClickRow callback implementation. The only solution will be to examine reorganization of the program to have no collisions between the actions inside of beforeSelectRow and ondblClickRow callbacks.

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

Sidebar

Related Questions

I'm using jqGrid with cell editing and a datepicker. All works well, except that
I'm trying to get YUIs DataTable to work using Inline Cell Editing that can
I am using table view for editing an object . I am using below
I am using Winform And C#. In that i added calander cell in datagridview
I'm using jqgrid with inline editing , when the user gets to the last
Using this Jquery plug-in http://www.trirand.com/blog/jqgrid/jqgrid.html How do you: edit the cell content (looking at
I have an NSTableView that has one column of editable fields. Cell editing works
I am using jquery DataTables and jEditable to allow inline editing of EACH CELL
I have a grid panel using cell editing plugin. In this grid panel, I
Below is a snippet from the cell-editing.js file in the Sencha.com Ext JS 4

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.