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

📄 combos.js

📁 着重用css实现页面显示功能,实现简单数据库连接,是很好的入门教程
💻 JS
字号:
/*
 * Ext JS Library 1.1.1
 * Copyright(c) 2006-2007, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://www.extjs.com/license
 */

Ext.onReady(function(){    // simple array store    var store = new Ext.data.SimpleStore({        fields: ['abbr', 'state'],        data : Ext.exampledata.states // from states.js    });    var combo = new Ext.form.ComboBox({        store: store,        displayField:'state',        typeAhead: true,        mode: 'local',        triggerAction: 'all',        emptyText:'Select a state...',        selectOnFocus:true,        resizable:true    });    combo.applyTo('local-states');    var converted = new Ext.form.ComboBox({        typeAhead: true,        triggerAction: 'all',        transform:'state',        width:135,        forceSelection:true    });});

⌨️ 快捷键说明

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