Datatables editor - disable rows

Datatables editor - disable rows

mikducmikduc Posts: 21Questions: 6Answers: 0

Is there a simple way to disable all table rows (make them read only) based on the value of a variable on the form?


  • colincolin Posts: 10,137Questions: 0Answers: 1,698
    edited September 2019

    Hi @mikduc ,

    You could do that with preOpen - you could have a check in there and if the condition is met return false to stop the edit or remove happening. See this example here, it's making all rows with the office of 'London' read-only.



Sign In or Register to comment.