I keep getting the following error - erratically and not with any clear pattern - when editing a field in the grid. I have gotten this error on checkbox fields and dateeditor fields that I have noticed.
"uncaught exception: assert failed"
I have tried and tried to figure out what the cause of this error is to no avail. I edit a field and then it doesn't go away - editing that is ... the checkbox remains a checkbox and doesn't change to "true/false" like it normally does and the above error shows in Firebug. the date field box doesn't go away when I move to another field...
Here is the code for one of the checkbox if it helps:
{ title: "Vehicle?", width: 100, dataType: "bool", align: "center", dataIndx: 'isvehicle',
editor: { type: "checkbox", style: "margin:3px 5px;" },
filter: { type: "checkbox", condition: "equal",
listeners: [{ click: function (evt, ui) {
//tri state check box (true, false, null)
var column = ui.column,
prevVal = column.filter.value,
stopEvent = false,
newVal = null;
if (prevVal === false) {
stopEvent = true;
}
else if (prevVal === true) {
newVal = false;
}
else {
newVal = true;
}
filter("isvehicle", newVal);
if (stopEvent) {
return false;
}
}
}]
}
},