ReadOnly specific row in DataTable Editor

ReadOnly specific row in DataTable Editor

lupearobertlupearobert Posts: 3Questions: 1Answers: 0

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


  • colincolin Posts: 11,280Questions: 0Answers: 1,927

    You could try something like this :

    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.


Sign In or Register to comment.