Is it possible to use the .disable() method on individual cells in .initComplete()?
Is it possible to use the .disable() method on individual cells in .initComplete()?
![stevenAdvisicon](https://secure.gravatar.com/avatar/32fc290a25c336f25c45f8e21dc75b4f/?default=https%3A%2F%2Fvanillicon.com%2F32fc290a25c336f25c45f8e21dc75b4f_200.png&rating=g&size=120)
I am wanting to not allow editing on certain cell fields depending on data received by the ajax call. I.e. only allow the editing of a cell if the cell is empty or within certain parameters, if past a certain date, or above a certain number. Is this possible?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @stevenAdvisicon ,
You can do something like this here - this doesn't allow bubble editing if the field contains the string "London". You could make it smarter by checking the correct column, or a range of values.
Hope that gives you a direction,
Cheers,
Colin