Disable for editing only One cell.
Disable for editing only One cell.
Talalaev-ia
Posts: 2Questions: 1Answers: 0
I am interested in purchasing DataTables Editor for very specific task.
But before I must know, is it really possible to disable only one cell in Table (tab between columns, not inline editing) dynamically?
for instance: https://editor.datatables.net/examples/inline-editing/tabControl.html when we try to edit some cell - show a message to the client.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Sure - the editing is triggered by
inline()
which you call. For example in the example you linked to it uses:Note that the selector excludes the first column. Also noted that in the tab handling code it will skip over the first column.
If you haven't tried Editor yet, I would encourage you to download the trial and make sure it does what you want :-). It sounds like it should be quite possible.
Allan
Thanks a lot for your quick responce!
It works!
DataTables looks amazing!!
=) Ivan.