Check uncheck the checkbox while canvas is in read only mode

Hi

We are creating one diagram and we have checkbox in our shape. We want to check or uncheck the check box while canvas is in read-only mode. Can we do it ? is it Possible?

If you look at the definition of the “CheckBoxButton” at http://gojs.net/latest/extensions/Buttons.js, you’ll see that it is checking the Diagram.isReadOnly property and possibly the Model.isReadOnly property.

You can copy that definition and modify it to remove those checks. Make sure you load your customized “CheckBoxButton” definition before you create any "CheckBox"es.