CSS3 的3D旋转示例
<!DOCTYPE html> <html> <head> <meta charset=" utf-8"> <meta name="author" content="http://www.softwhy.com/" /> <ti...
<!DOCTYPE html> <html> <head> <meta charset=" utf-8"> <meta name="author" content="http://www.softwhy.com/" /> <ti...
Ext.define('Ext.form.field.Month', { extend:'Ext.form.field.Date', alias: 'widget.monthfield', requires: ['Ext.p...
如果是GRID放在其他控件里, 解决方法见 EXTJS TAB里放GRID高度自适应问题,官方PERFECT方案。
然而直接添加到 Ext.window里, 却不能用FIX的 layout来自动适应.
这里使用 事件监听的方法来动态的调整GRID高度,达到效果.
如下,在GRID控件 里监听 afterlayout 即render完毕后.
listeners:{ afterlayout: function(grid, layout) { } }
设置GRID的高度和宽度为窗口的高度和宽度
listeners:{ afterlayout: function(grid, layout) { grid.setWidth(grid.ownerCt.getWidth()); grid.setHeight(grid.ownerCt.getHeight()); } }
.ownerCt.getHeight()
获取的是 窗口整个的高度, 包括了标题和边框.
继续改进
...早在DOS年代, 就实现了 批处理能力, 做为一个远程管理工具不能批处理就有点说不过去了.
理解起来还是比较容易的, 实际上设计和架构还是有比较多的分支和选择的.
启动上:
1. 选择机器(或多台), 选择任务(批处理CMD脚本,或程序) , 执行.
&nb
...viewConfig:{ enableTextSelection:true }
出处:http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/layout-browser/layouts/combination.js
// A common mistake when adding grids to a layout is creating a panel first,
// then adding the grid to it. GridPanel (xtype:'grid') is a Panel subclass,
// so you can add it directly as an item into a container. Typically you will
// want to specify layout:'fit' on GridPanels so that they'll size along with
// their container and take up the available space.
服务器已使用 NGINX 建立了一个网站, 80端口被占用, 如果再开启IIS 就不能再使用80端口.
所以我选择 PHP版本的ZBLOG.
nginx 加入对PHP的解析
&nb
...