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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:57:31+00:00 2026-06-13T11:57:31+00:00

I have a table using jqGrid, I need that when editing a row some

  • 0

I have a table using jqGrid, I need that when editing a row some of the columns are not available for editing according to the values on the row. I know how to avoid the editing of a row according to the cell value but at the whole row level, I don’t know how to specify at the column level. Here is the function on double click of my table.

ondblClickRow: function(id){

    var code = id.split("-")[0];   
    var status = id.split("-")[1]; 
    if((code == "0" && status == "255") || (code == "1" && status == "0")
            || (code == "1" && status == "1")
            || (code == "2" && status == "255")){
        return;
    }else{
        jQuery('#nameableSignalsListView').jqGrid('editRow',id, { 
            keys : true,
            reloadAfterSubmit:true,
            successfunc: function(response, postdata) {                     
                var result = printErrors(response, false);
                if(result === true) {
                    return true;
                } else {
                    setTimeout(function() {
                    customAlert(result);
                }, 200);    
                    return false;
                }
            },
            restoreAfterError: false,
            url: appRootUrl  + "rest/nameableSignals/update"
        });
    }
}
  • 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-13T11:57:32+00:00Added an answer on June 13, 2026 at 11:57 am

    I answered on the same question multiple times. The main understanding problem is that editing: true property of the column will be read by editRow at the initialization time. So you can set the value of editing property with respect of setColProp method for example directly before calling of editRow. In the way you can implement any dynamic behavior which you need.

    See the answer, this one or this one. The last one provide solution for the usage of inline editing per formatter: "actions".

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

Sidebar

Related Questions

I have just started using jqGrid , and I have some tables that I
I have a following table using MVC that shows number of items the user
I have a stored procedure that updates a table using linq, eg: (this is
I have a class that is mapped to a table using NHibernate. The problem
Hi I'm using jqgrid to show some information in a grid. But I have
I'm using Jqgrid to display a table, and I have a auto increment primary
I have a table that has following columns id store_id store_name id and store_id
I have created one table using the below command: create table Table1( Id int
I have a database table using an enum. This is already working with hibernate
I have to create one table using XSLT and CSS. The table should look

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.