Hi everyone,
I have a problem with kendo checkbox they work usually fine but on display with zoom scale plus 100% and in a certain range of resolution stop working and they have also a visual bug, attach image for clarify.
no work
work fine
I am using a boolean field in my kendo grid:
"activePin"
model: {
id: "id",
fields: {
accountId: { editable: false },
accountName: { validation: { required: true } },
operatorGroupName: {},
pinCode: { editable: false },
email: { },
cellPhone: { },
note: { },
activePin: { type: "boolean" },
eqpAccess: { editable: false },
}
}
The value of this field is set to true or false based on the value of a status field in the read data:
parse: function(response) {
for (var i = 0; i < response.length; i++) {
if (response[i].status === 'A') {
response[i].activePin = true;
}
else {
response[i].activePin = false;
}
}
return response;
},
The column in my grid displays correctly, and when the row is edited, correctly displays a checked checkbox
when true, and an unchecked checkbox when false.
In edit mode, if I check the checkbox and press update, the model data being sent to my transport Update or
Create functions is always false, regardless if the box is checked before clicking update.
Not sure what I am missing?