Hi, I have a question regarding the datatables editor
How can I make a row read only if a condition is met
For example if one of the fields had value 3 I want the whole row to be readonly
You could try something like this : http://live.datatables.net/sicerace/1/edit
Here, if the row being edited has "London" as the office, then it cannot be edited. The example needs some work if you're allowing multi-row editing, but the logic that's there would be a good starting point.
Hi, thank you for the answer but I have already figured out how to disable the button, what I need is to disable the double-click-edits-item option.
Can you link me to your page showing that, or show me the code enabling that? I don't think we use double click in any of our examples do we?
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.