📄 databounddependentselects.js
字号:
isc.ListGrid.create({ width: 500, height:200, canEdit:true, ID:"orderList", fields: [ {name:"quantity", title:"Qty", type:"integer", width:30}, {name:"categoryName", title:"Category", editorType:"select", optionDataSource:"supplyCategory", autoFetchDisplayMap: false }, {name: "itemName", title:"Item", editorType: "select", optionDataSource:"supplyItem", autoFetchDisplayMap: false, editorProperties:{ getPickListFilterCriteria : function () { var category = this.grid.getEditedCell(this.rowNum, "categoryName"); return {category:category}; } } } ]});isc.IButton.create({ top:225, title:"Order New Item", click:"orderList.startEditingNew({quantity:1})"})
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -