customeditors.js

来自「javascript 很酷的类库」· JavaScript 代码 · 共 23 行

JS
23
字号
isc.ListGrid.create({    ID: "countryList",    width:620, height:224, alternateRecordStyles:true, showAllRecords:true,    cellHeight:42, wrapCells:true,    dataSource: countryDS,    fields:[        {name:"countryName", width:100},        {name:"government", width:175,            editorType:"textArea",            editorProperties:{height:40}        },        {name:"population", width:100, formatCellValue:"isc.Format.toUSString(value)",            editorType:"spinner"        },        {name:"independence", width:225,            editorProperties:{useTextField:false}        }    ],    autoFetchData: true,    canEdit: true,    editEvent: "click"})

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?