Just go through the above method in the documentation. It will help you to understand better on that.

To remove the selected tick, you have to write seperate logic for that, you can use the getSelected function of the checkbox, to check if the check box is selected or not, and as per your model data, you can modify the selected property of your checkbox.