While saving with a validation, I am getting an exception at line 2731 of pqgrid.dev.js
The following is the error and stack trace:
Uncaught TypeError: undefined is not a function bootstrap.min.js:11
(anonymous function) bootstrap.min.js:11
b.extend.each jquery.js:7123
b.fn.b.each jquery.js:6735
a.fn.tooltip bootstrap.min.js:11
fn._isValidCell pqgrid.dev.js:2393
(anonymous function) jquery-ui.custom.js:401
fn.isValid pqgrid.dev.js:2441
(anonymous function) jquery-ui.custom.js:401
(anonymous function) jquery-ui.custom.js:493
b.extend.each jquery.js:7123
b.fn.b.each jquery.js:6735
$.widget.bridge.$.fn.(anonymous function) jquery-ui.custom.js:483
obj.cellBeforeSave edit-practiceScriptTemplate.cfm?DrillId=13:546
$.Widget._trigger jquery-ui.custom.js:785
fn.saveEditCell pqgrid.dev.js:4522
(anonymous function) jquery-ui.custom.js:401
(anonymous function) jquery-ui.custom.js:493
b.extend.each jquery.js:7123
b.fn.b.each jquery.js:6735
$.widget.bridge.$.fn.(anonymous function) jquery-ui.custom.js:483
acceptChanges edit-practiceScriptTemplate.cfm?DrillId=13:233
obj.toolbar.items.listeners.click edit-practiceScriptTemplate.cfm?DrillId=13:462
b.event.dispatch jquery.js:9593
b.event.add.v.handle jquery.js:9273
The column/validation in question:
{
title: "Hash", "dataIndx": "HashID", "dataType": "integer",
editor: {
type: 'select',
options: hashes
},
align:'center',
render: function (ui) {
var options = ui.column.editor.options,
cellData = ui.cellData;
for (var i = 0; i < options.length; i++) {
var option = options;
if (option[cellData]) {
return option[cellData];
}
}
},
validations: [
{ type: 'gt', value: 0, msg: "The Hash is Required. Please Select a Hash from the list." }
]
}
Did I do something incorrectly?
Thank you for your assistance...