标签:jqwidgets
var uptype_source = [{
"TYPE_DESC": "总额度",
"TYPE_VAL": "1"
},
{
"TYPE_DESC": "预留额度",
"TYPE_VAL": "3"
}]
jqxComboBoxInitialize_source("UPDATE_TYPE", uptype_source, "true", "TYPE_DESC", "TYPE_VAL", "请选择操作类型");
var value = $("#jqxComboBox").jqxComboBox('val');
function jqxComboBoxInitialize_source(comboBoxId, source, autoDDHeight, displayMember, valueMember, placeHolder) {
$("#" + comboBoxId).jqxComboBox({
theme: theme,
source: source,
autoDropDownHeight: autoDDHeight,
displayMember: displayMember,
valueMember: valueMember,
width: 154,
height: 22,
animationType: 'fade',
placeHolder: "选择操作类型",
dropDownHorizontalAlignment: 'right'
});
}
function jqxComboBoxInitialize_width(comboBoxId, dictId, autoDropDownHeight, width, placeHolder) {
$("#" + comboBoxId).jqxComboBox({
theme: theme,
autoDropDownHeight: autoDropDownHeight,
source: queryDictSource(dictId),
displayMember: "ENTR_DESC",
valueMember: "ENTR_VAL",
width: 150 || width,
height: 22,
animationType: 'fade',
placeHolder: placeHolder,
dropDownHorizontalAlignment: 'right'
});
};标签:jqwidgets
原文地址:http://blog.csdn.net/nickroprak/article/details/43481981