knockoutjs deselect/select all checkboxes when one or more items deselected
问题 This is similar to, but different from other questions around this topic. I have a table with a list of records, each having a select checkbox. In the table header I have a "Select All" checkbox. When the user checks/unchecks "Select All" the records are selected/unselected. This works fine. However, I need to deselect my "Select All" checkbox when one or more of the records are deselected. My markup: <table> <thead> <tr> <th>Name</th> <th><input type="checkbox" data-bind="checked: SelectAll"