摘要: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Contact Form</title> <!-- ExtJS --> <script type="text/javascript" src="../../locale/ext-lang-zh_CN.js"></script> < 阅读全文
posted @ 2013-05-23 16:53 牧童骑黄牛 阅读(479) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Contact Form</title> <!-- ExtJS --> <script type="text/javascript" src="../../locale/ext-lang-zh_CN.js"></script> < 阅读全文
posted @ 2013-05-23 15:20 牧童骑黄牛 阅读(363) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript">Ext.onReady(function(){Ext.QuickTips.init();var form =new Ext.form.FormPanel({title:'Ext.form.field.Number示例',bodyStyle:'padding:5 5 5 5',//表单边距renderTo:'form',frame:true,height:150,width:250,defaultType:'numberfield',def 阅读全文
posted @ 2013-05-23 14:33 牧童骑黄牛 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 今天在做项目时,需要在列表中的某列添加一个超链接,首先要取得当前选中行的数据,判断数据类型,然后链接到不同的页面,研究下。发现ExtJs提供了一个很强的方法如下:var cm = new Ext.grid.ColumnModel( [new Ext.grid.RowNumberer({header: "",width: 20,align: 'center'}), {header: '',align: 'center',dataIndex: 'AccountAndRoseID',width: 50,sortabl 阅读全文
posted @ 2013-05-17 13:24 牧童骑黄牛 阅读(199) 评论(1) 推荐(1) 编辑