随笔分类 -  extjs

Extjs中Ext.Array 方法的使用
摘要:1.Ext.Array.clean(arr); 过滤数组中的空元素 var arr = [1,"",2,"",3]; Ext.clean(arr); // [1,2,3] 2.Ext.Array.clone(arr);可以克隆数组,对象,dom节点和日期数据,以避免保持旧的指向 var arr= [ 阅读全文
posted @ 2024-12-26 18:27 xsSystem 阅读(134) 评论(0) 推荐(0)
ExtJS viewModel 向下传递
摘要: 阅读全文
posted @ 2024-02-03 14:03 xsSystem 阅读(8) 评论(0) 推荐(0)
添加虚拟列
摘要:const gridRef = grid.getReference();if (!gridRef) returngrid.getStore().on('beforeload', function (store, records, successful, eOpts) { grid.getStore( 阅读全文
posted @ 2024-01-22 17:06 xsSystem 阅读(25) 评论(0) 推荐(0)
dataIndex
摘要:{"calculate":"function(data){return data.tf_fpAmount-data.tf_fpYiPayoffJe}", "persist":true}onGridCellDblClick: function (grid, td, cellIndex, record, 阅读全文
posted @ 2022-12-27 20:37 xsSystem 阅读(42) 评论(0) 推荐(0)
Extjs 消息提示框
摘要:Extjs的几种简单的提示框 https://www.iteye.com/blog/zyjustin9-2123409 一、Ext.MessageBox.alert()和Ext.MessageBox.show(): 1.成功的提示: Js代码 Ext.Msg.alert("成功","数据保存成功!" 阅读全文
posted @ 2022-07-05 11:19 xsSystem 阅读(406) 评论(0) 推荐(0)
关于Extjs获取容器和元素的方法
摘要:关于Extjs获取容器和元素的方法 playboy5566发布于 2018-06-08 1、当前对象的父对象(上级对象) this.ownerCt: 2、当前对象的下一个相邻的对象 this.nextSibling(); 3、当前对象的上一个相邻的对象 this.previousSibling(); 阅读全文
posted @ 2022-06-13 13:45 xsSystem 阅读(75) 评论(0) 推荐(0)
EXTJ收藏夹
摘要:[ExtJS5学习笔记]第五节 使用fontawesome给你的extjs5应用增加字体图标 Ext Js v6.2.0.103 Sencha Cmd 命令 引人瞩目的 CSS 变量(CSS Variable) 阅读全文
posted @ 2021-11-30 15:40 xsSystem 阅读(30) 评论(0) 推荐(0)
Ext.grid.行相关
摘要:extjs grid的行选择 在extjs grid的配置项中,有两个配置项和选择有关: selModel:选择类型的对象,或者选择类型的配置对象,可以进行更多的配置(单选、多选,多选框的位置等) selType:选择类型的字符串,不能进行更多的设置 selModel示例: xtype: "grid 阅读全文
posted @ 2020-06-21 16:10 xsSystem 阅读(170) 评论(0) 推荐(0)
FORM 布局
摘要:xtype: 'form', layout: 'column', defaults: { style: 'float:left;margin:4px;', columnWidth: 0.49, msgTarget: 'side' }, defaultType: 'textfield', fieldD 阅读全文
posted @ 2020-06-20 12:02 xsSystem 阅读(252) 评论(0) 推荐(0)
Ext.window.MessageBox xtype: messagebox ; Ext.Msg Ext.MessageBox
摘要:Ext.MessageBox常用配置项: 配置项 类型 说明 title String 提示框标题 msg String 显示的消息内容 width Number 对话框的宽度,以px为单位 maxWidth Number 对话框的最大宽度,默认为600px minWidth Number 对话框的 阅读全文
posted @ 2019-12-12 15:57 xsSystem 阅读(225) 评论(0) 推荐(0)
Ext.grid.column
摘要:actioncolumn templatecolumn 阅读全文
posted @ 2019-12-09 16:58 xsSystem 阅读(277) 评论(0) 推荐(0)
Extjs store filter
摘要:下文均已服务器端查询为例,一般我们载入数据通过 store.load() 如果要过滤数据则使用 已下下转至: Extjs中store的filter和filterBy的用法,客户端过滤 在Extjs设计界面,很多时候并不需要将所有的数据都显示到界面上,这样子我们可以通过在创建store时添加filte 阅读全文
posted @ 2013-06-18 19:44 xsSystem 阅读(1839) 评论(0) 推荐(0)
Extjs 添加事件
摘要:a、使用addListeners: addListener( String eventName, Function fn, Object scope, Object options ) panel.addListeners('click',function(){alert('点击事件')},this 阅读全文
posted @ 2013-05-27 21:16 xsSystem 阅读(526) 评论(0) 推荐(0)
Ext.data.Model
摘要:转:http://blog.sina.com.cn/s/blog_7778950d0100xgel.html 在发布的ExtJS4版本中,在data包中新增加了一个类Model(模型类)。这个类有点类似于ExtJS3.x中的record,但是新添加的Model的功能要比record类的功能强大的多, 阅读全文
posted @ 2013-05-24 03:04 xsSystem 阅读(345) 评论(0) 推荐(0)
Extjs Store 的使用
摘要:一:统计功能 1.获得总行数起始值为1:store.getCount(); 2.某列数字求和:store.sum('Fhtje');//参数字段名 3.遍历 store.each(function(record) { alert(record.get('name'));}); 二:载入数据 load 阅读全文
posted @ 2013-05-23 22:24 xsSystem 阅读(1720) 评论(0) 推荐(0)