Here the first two rows are created manually in html, the 3rd row is created dynamically. Toggle does not work on the dynamically created row.
$(document).ready(function() {
$('input:checkbox').on("change", function(e) {
if ($(this).is(":checked")) {
$(this).closest('tr').find("td.rowC .check").prop("disabled", false);
} else {
$(this).closest('tr').find("td.rowC .check").prop("disabled", true);
}
});});