473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Datatable editable - make cell editable based on a condition

I am using Jquery Datatable Editable. I wanted to know if it is possible to make a cell editable based on a condition.

For example if my data is rendered this way,

Key text

1 Help

2 Choice

3 Edit

Key and Text are 2 columns, I want to make the cell with value choice only editable and the cells with value Help and Edit remain readonly. Is it possible to achieve this via Datatable editable ?
Nov 22 '13 #1
1 2173
Nepomuk
3,112 Expert 2GB
Are you sure this belongs in the Java section? If you're using JQuery that probably means it's JavaScript, right? And that kind of question would go in the JavaScript / Ajax / DHTML Forum.
Nov 22 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: deko | last post by:
SELECT tblTxAcct.TxAcctName, tblTxType.TxTypeName, Nz(qryTxAcctListCt.TxCount, 0) AS TxCt FROM (tblTxAcct INNER JOIN tblTxType ON tblTxAcct.TxType_ID=tblTxType.TxType_ID) LEFT JOIN qryTxAcctListCt...
0
by: Bill Toulias | last post by:
I want to be able to display the tuples of a select query (which may change at runtime, so no prior knowledge for column characteristics) and edit them as well. I used this code, that executes...
1
by: Samuel Shulman | last post by:
Any method to make a cell editable programmatically The problem is that if the user entered a value which is not valid then instead of ignoring the value and explaining the user what was wrong ...
5
by: patsman77 | last post by:
Hello All, I have been working on a little script, I am at a slight problem and was hoping for a little assistance. I am trying to change the color of a cell in my table based on a value...
1
by: ramyasarangapani | last post by:
Hi, i have a issue in html.in a table,initially all the controls should be disabled.on click of edit link in each row,the respective row controls should be editable. i have not used forms.pls...
1
by: Lcoggshall | last post by:
Hi everyone, I am on site and have a huge issue I need an answer to ASAP. I have a Touch screen application. This app has a bbrower with 1 cell that is editable. Because it is a touch screen,...
0
by: murugavelmsc | last post by:
Hi, I have a worksheet with dependent value. For eg. when i am select a2 value from the list, b2 cell have values depend on the a2 cell. (b2 contains some formula) But i want to non-editable the...
6
by: mikemassie | last post by:
I'm trying to figure out the best way to deal with this problem. I have a select box that populates a table cells using Java / PHP. That data that is then returned to the cells is always a...
1
by: remya1000 | last post by:
I’m using VB.Net. I’m using DataGridView with ColumnType = DataGridViewTextBoxColumn. I have 3 columns. Column1, Column2, Column3. For example: Column1 Column2 Column3...
4
by: Amrit Pathak | last post by:
I have some text fields which are non editable .I want to make them editable at a button(Edit) click.Below is the code .How to do that?? <FORM action="notworking.jsp" name="abc"> ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.