hi ;
I am filling the datatables with some data and checkbox and
I want to do check, uncheck to checkbox based on the value in datatables
I am reading checkbox value from model via @models.id and I want to control depend on this value
so if value=1 then check else uncheck
<input class="chkYetki" type="checkbox" id="chkYetki" data-toggle="toggle" data-id="@models.ID" data-size="small" data-onstyle="success" data-offstyle="danger">