1.store中重要的属性和方法属性:data、proxy、reader、url、root ....方法:load2.理解:data--原料,proxy--运输车,reader--加工厂,store--仓库。入库后等待给grid使用。 Ext.onReady(function(){ var PersonRecord = Ext.data.Record.create([ {name: 'name', type: 'string'}, {name: 'sex', type: 'int'} ]); var data = [ [' Read More
posted @ 2013-08-25 22:03 等风来。。 Views(385) Comments(0) Diggs(0) Edit
1.Cannot call method 'getColumnCount' of undefinedHi, maybe you use colModel before rendering.Notice api "TheExt.grid.ColumnModelto use when rendering the grid (required)."If you have to use colModel before rendering, you can new anExt.grid.ColumnModelto grid's colModel when yo Read More
posted @ 2013-08-25 21:29 等风来。。 Views(230) Comments(0) Diggs(0) Edit
1.iframe的基础,深入理解frame是何物,属性该如何设置。 iframe即内联框架。不同于frame,frame与frameset综合使用,成为帧,框架集。frame已经不大使用了。说白了,frame是僵硬的叠加,iframe是内联的。对于外围的页面,iframe是一个普通的元素,对于iframe里面的内容,又是一个五脏俱全的页面。iframe的写法是: 2.iframe自适应高宽,即ifrmae在布局方面的应用。3.iframe的表单无刷新,iframe在上传文件时的无刷新作用。 iframe实现无刷新的原理就是在A页面的表单提交数据到服务器,并且指定target属性为B页面,服.. Read More
posted @ 2013-08-25 13:56 等风来。。 Views(522) Comments(0) Diggs(0) Edit
1.项目-->右键-->properties Read More
posted @ 2013-08-25 12:16 等风来。。 Views(275) Comments(0) Diggs(0) Edit
在编程语言中,字面量是一种表示值的记法。例如,"Hello, World!" 在许多语言中都表示一个字符串字面量(string literal ),JavaScript也不例外。以下也是JavaScript字面量的例子,如5、true、false和null,它们分别表示一个整数、两个布尔值和一个空对象。JavaScript还支持对象和数组字面量,允许使用一种简洁而可读的记法来创建数组和对象。考虑以下语句,其中创建了一个包含两个属性的对象(firstName和lastName):var customer = new Object();customer.firstName = Read More
posted @ 2013-08-25 01:09 等风来。。 Views(244) Comments(0) Diggs(0) Edit
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------