custom-grid.js
来自「一个使用yui-ext库」· JavaScript 代码 · 共 23 行
JS
23 行
/*
* yui-ext
* Copyright(c) 2006, Jack Slocum.
*/
var Example = {
init : function(){
var propsGrid = new YAHOO.ext.grid.PropsGrid('props-grid');
// The props grid takes an object as a data source
propsGrid.setSource({
"(name)": "Properties Grid",
"grouping": false,
"autoFitColumns": true,
"productionQuality": false,
"created": new Date(Date.parse('10/15/2006')),
"tested": false,
"version": .01,
"borderWidth": 1
});
propsGrid.render();
}
}
YAHOO.ext.EventManager.onDocumentReady(Example.init, Example, true);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?