diff --git a/web/pgadmin/static/js/slickgrid/slick.pgadmin.editors.js b/web/pgadmin/static/js/slickgrid/slick.pgadmin.editors.js index af97e84..b0ddfc5 100644 --- a/web/pgadmin/static/js/slickgrid/slick.pgadmin.editors.js +++ b/web/pgadmin/static/js/slickgrid/slick.pgadmin.editors.js @@ -469,7 +469,7 @@ this.loadValue = function (item) { defaultValue = item[args.column.pos]; - if (_.isNull(defaultValue)) { + if (_.isNull(defaultValue)||_.isUndefined(defaultValue)) { $select.prop('indeterminate', true); } else { @@ -754,7 +754,7 @@ this.loadValue = function (item) { defaultValue = item[args.column.field]; - if (_.isNull(defaultValue)) { + if (_.isNull(defaultValue)||_.isUndefined(defaultValue)) { $select.prop('indeterminate', true); } else {