User-832373396 posted
Hi <g class="gr_ gr_69 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="69" data-gr-id="69">Cloudfiers</g>,
@Html.EditorFor(
Based on your code, please modify a bit:
<td>
@Html.CheckBoxFor(m => m[i].PMFLG, new {@id="check" })
</td>
and js;
$('#check').change(function () {
var status;
if ($(this).is(':checked')) {
status = "checked"
} else {
status = "unchecked"
}
});
Reference: https://api.jquery.com/prop/
and @Html.CheckboxFor usage with default true value:
@Html.CheckBoxFor(m => m.SomeBooleanProperty, new { @checked = "checked" });
With regards, Angelina Jolie