【jQwidgets】jqxComboBox 素颜马尾好姑娘i 2022-08-06 15:09 112阅读 0赞 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' }); };
还没有评论,来说两句吧...