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()?

stevenAdvisiconstevenAdvisicon Posts: 1Questions: 1Answers: 0

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

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    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

This discussion has been closed.