![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
extjs
在学习的痛苦中成长
无无无
展开
-
ext proxy自定义参数 传递分页数据
原来在store 的proxy里直接给参数proxy:{ ........ extraParams:new SANKI.store.systemManage.GetStationList(Ext.util.Cookies.get("sessionId"),count,offset).data, }我猜想:这样的话参数给的比beforeload靠前,以至于监听beforeload的页码数据不能再修改参原创 2017-03-29 17:01:51 · 1424 阅读 · 0 评论 -
ext分页grid能显示数据,但pagingtoolbar不能得到数据,问题解决
store 文件代码:Ext.define('TEST.store.List',{ extend: "Ext.data.Store", model:'TEST.model.List', pageSize: 15, proxy: { type: 'ajax', url: 'server/testPage4.json'原创 2017-03-29 10:54:30 · 1538 阅读 · 0 评论 -
未解决:Ext动态加载controller时出现Synchronous XMLHttpRequest on the main
参考文章 Extjs创建多个controller实现多模块MVC动态加载已实现了一个app加载多个controller的功能, 即点击左侧菜单栏,加载新模块的controller且下面的view store model等。 但是chrome会出现警告 该警告文字内容Synchronous XMLHttpRequest on the main thread is deprecated beca原创 2017-03-30 15:01:24 · 778 阅读 · 0 评论 -
Ext可编辑表格中timefield选择后会显示中国标准时间
选择的时候正常,但是选择完之后,点击其他地方,就变成Tue Jan 01 2008 04:45:00 GMT+0800 (中国标准时间) 了。 尝试使用datefield也是一个效果。 使用的是extjs4.1.1只有在grid中editor里,才会出现这种情况在其他地方单独使用timefield,就不会出现问题。 view中代码:columns:[ {header:'原创 2017-04-18 16:03:35 · 1656 阅读 · 0 评论 -
Ext4.1.1使用rowexpander
这个RowExpander到底在什么地方,找了半天,在extjs-4.1.1\examples\ux下,然后拷出来到程序目录下,在主页面中引入。 然后在主grid页面引用Ext.require([ 'Ext.grid.*', // not needed with ext-all, -debug 'Ext.data.*', // not needed with ext-all,原创 2017-09-21 10:50:26 · 1252 阅读 · 1 评论