|
@@ -10627,7 +10627,7 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator'], function ($, undef
|
|
searchList = ret;
|
|
searchList = ret;
|
|
}
|
|
}
|
|
var optionList = createOptionList(searchList, vObjCol, that);
|
|
var optionList = createOptionList(searchList, vObjCol, that);
|
|
- $("form.form-commonsearch select[name='" + vObjCol.field + "']", that.$container).html(optionList.join(''));
|
|
|
|
|
|
+ $("form.form-commonsearch select[name='" + vObjCol.field + "']", that.$container).html(optionList.join('')).trigger("change");
|
|
});
|
|
});
|
|
})(vObjCol, that);
|
|
})(vObjCol, that);
|
|
} else {
|
|
} else {
|
|
@@ -10824,7 +10824,7 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator'], function ($, undef
|
|
this.$header.find('th[data-field]').each(function (i) {
|
|
this.$header.find('th[data-field]').each(function (i) {
|
|
var column = $(this).data();
|
|
var column = $(this).data();
|
|
if (typeof column['width'] !== 'undefined') {
|
|
if (typeof column['width'] !== 'undefined') {
|
|
- $(this).css("min-width", column['width']);
|
|
|
|
|
|
+ $(this).css("max-width", column['width']);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
this.options.stateField = this.header.stateField;
|
|
this.options.stateField = this.header.stateField;
|