?? custom-grid.js
字號:
/*
* 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);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -