- With default checked box is value being 1.
- If user can click on button like ALL or DEFAULT or NONE to select the checkboxes.
- If user clicks NONE, the DEFAULT checkbox should be checked and disabled; As default is always be 1.
- If user clicks on the button ALL or DEFAULT or any custom checks the disabled attribute should be removed and should perform normally.
Note:Need to disable the checkbox when clicks on NONE (from the controller/view);
if(arrObj.id === 1){
arrObj.enabled = true;
arrObj.text = "1 [Default Value]";
//TO DISABLE THE CHECKBOX so that it can't be unchecked
}else{
arrObj.enabled = false;
}