⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 formatvalues.js

📁 javascript 很酷的类库
💻 JS
字号:
isc.ListGrid.create({    ID: "countryList",    width:500, height:224, alternateRecordStyles:true, showAllRecords:true,    data: countryData,    fields:[        {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"},        {name:"countryName", title:"Country"},        {name:"independence", title:"Nationhood", type:"date",            formatCellValue: function (value) {                if (value) {                    return value.getShortMonthName()+' '+value.getDate()+', '+value.getFullYear();                }            }        },        {name:"area", title:"Area", type:"number",            formatCellValue: "isc.Format.toUSString(value) + ' km²'"        }    ]})

⌨️ 快捷键说明

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