Hello,
We are having some issues with checkbox on IE. (working correctly on Chrome and FF)
When we use IE, it always says that the "checkbox" is mandatory, as soon as we check/uncheck it.
Here is the code :
$("#grid2").kendoGrid({
dataSource: {
error: errorHandler,
transport: {
...
parameterMap: function(options, type) {
return JSON.stringify(options);
}
},
schema: {
data: "data",
total: "total",
model: {
id: "id",
fields: {
initials: { type: "string",
validation :{
required: true,
pattern : "\\w{0,5}",
"data-pattern-msg": "Maximum 5 chars"
}
}, active: {type: "boolean", defaultValue: true},
....
columns: [ {
field: "initials",
title: "${user_list_initials}",
width: "10%"
}, {
field: "active",
title: "${user_list_active}",
width: "10%",
template: "<input type='checkbox'#= active ? 'checked=checked' : '' # disabled='disabled' /> "
},
This happens with the JSP Wrapper, or when using javascript aswell.
Any hints why it does that ?
The only difference compared to one demo I've seen is that I override the template to display it as a read-only checkbox.
Thank you in advance
We are having some issues with checkbox on IE. (working correctly on Chrome and FF)
When we use IE, it always says that the "checkbox" is mandatory, as soon as we check/uncheck it.
Here is the code :
$("#grid2").kendoGrid({
dataSource: {
error: errorHandler,
transport: {
...
parameterMap: function(options, type) {
return JSON.stringify(options);
}
},
schema: {
data: "data",
total: "total",
model: {
id: "id",
fields: {
initials: { type: "string",
validation :{
required: true,
pattern : "\\w{0,5}",
"data-pattern-msg": "Maximum 5 chars"
}
}, active: {type: "boolean", defaultValue: true},
....
columns: [ {
field: "initials",
title: "${user_list_initials}",
width: "10%"
}, {
field: "active",
title: "${user_list_active}",
width: "10%",
template: "<input type='checkbox'#= active ? 'checked=checked' : '' # disabled='disabled' /> "
},
This happens with the JSP Wrapper, or when using javascript aswell.
Any hints why it does that ?
The only difference compared to one demo I've seen is that I override the template to display it as a read-only checkbox.
Thank you in advance