摘要: firefox 默认是可以跨域CORS访问的,不需要什么插件,about:config 可查看 content.cors.disable false network.cors_preflight.allow_client_cert false 服务器端添加代码后正常CORS跨域访问,添加代码如下 最 阅读全文
posted @ 2022-01-08 10:19 xsSystem 阅读(94) 评论(0) 推荐(0) 编辑
  2024年2月3日
摘要: 阅读全文
posted @ 2024-02-03 14:03 xsSystem 阅读(1) 评论(0) 推荐(0) 编辑
  2024年1月22日
摘要: const gridRef = grid.getReference();if (!gridRef) returngrid.getStore().on('beforeload', function (store, records, successful, eOpts) { grid.getStore( 阅读全文
posted @ 2024-01-22 17:06 xsSystem 阅读(2) 评论(0) 推荐(0) 编辑
  2022年12月27日
摘要: {"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 阅读(26) 评论(0) 推荐(0) 编辑
  2022年8月1日
摘要: node环境实现console输出不同颜色 一、输出规则分析 1、输出及打印如下: console.log('\x1B[31m%s\x1B[0m', '这是红色') console.log('\x1B[36m%s\x1B[0m', '这是青色') 2、规则说明 \x1B[31m 是一个转义序列,它将 阅读全文
posted @ 2022-08-01 14:35 xsSystem 阅读(1060) 评论(0) 推荐(0) 编辑
  2022年7月24日
摘要: model.findAndCountAll({ where: sequelize.where(sequelize.fn('FIND_IN_SET', uid, sequelize.col('users')), '>', 0) }) 阅读全文
posted @ 2022-07-24 11:45 xsSystem 阅读(58) 评论(0) 推荐(0) 编辑
  2022年7月5日
摘要: 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 阅读(358) 评论(0) 推荐(0) 编辑
  2022年6月22日
摘要: const Low = require('lowdb'); class SyncAdapter { read() {return {}}//初始化为对象才能db.defaults write(data) { /* ... */ } // should return nothing } const a 阅读全文
posted @ 2022-06-22 03:36 xsSystem 阅读(17) 评论(0) 推荐(0) 编辑
  2022年6月13日
摘要: 关于Extjs获取容器和元素的方法 playboy5566发布于 2018-06-08 1、当前对象的父对象(上级对象) this.ownerCt: 2、当前对象的下一个相邻的对象 this.nextSibling(); 3、当前对象的上一个相邻的对象 this.previousSibling(); 阅读全文
posted @ 2022-06-13 13:45 xsSystem 阅读(57) 评论(0) 推荐(0) 编辑
  2022年1月16日
摘要: 阅读全文
posted @ 2022-01-16 01:08 xsSystem 阅读(15) 评论(0) 推荐(0) 编辑
  2021年11月30日
摘要: [ExtJS5学习笔记]第五节 使用fontawesome给你的extjs5应用增加字体图标 Ext Js v6.2.0.103 Sencha Cmd 命令 引人瞩目的 CSS 变量(CSS Variable) 阅读全文
posted @ 2021-11-30 15:40 xsSystem 阅读(24) 评论(0) 推荐(0) 编辑
  2021年1月20日
摘要: sencha app watch sencha -sdk E:\ext72JDK generate app app E:\app sencha generate app -ext -classic MyApp E:\senchaworkspace\MyApp 下载SDK 阅读全文
posted @ 2021-01-20 15:40 xsSystem 阅读(52) 评论(0) 推荐(0) 编辑
  2020年6月26日
摘要: 转:网页中使用的字体介绍 字体的选择,是网页开发的关键因素之一。 合适的字体,对网页的美观度(或可读性)有着举足轻重的影响。 但是,相比英文字体,中文字体的网页开发有着极大的局限性。因为,一套中文字体最少也要有几千个字符,体积为几个MB;单单为了浏览网页,开发者不可能让用户去下载字体,只能依靠操作系 阅读全文
posted @ 2020-06-26 12:51 xsSystem 阅读(2543) 评论(0) 推荐(0) 编辑
  2020年6月21日
摘要: extjs grid的行选择 在extjs grid的配置项中,有两个配置项和选择有关: selModel:选择类型的对象,或者选择类型的配置对象,可以进行更多的配置(单选、多选,多选框的位置等) selType:选择类型的字符串,不能进行更多的设置 selModel示例: xtype: "grid 阅读全文
posted @ 2020-06-21 16:10 xsSystem 阅读(138) 评论(0) 推荐(0) 编辑
  2020年6月20日
摘要: 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 阅读(226) 评论(0) 推荐(0) 编辑
  2019年12月20日
摘要: https://blog.csdn.net/qq_36171618/article/details/79936559 * * rs.open sql,conn,1,1全接触(已修正) * * 经常会在连接DB的时候用到:rs.open sql,conn,A,B A: adOpenForwardOnl 阅读全文
posted @ 2019-12-20 00:48 xsSystem 阅读(351) 评论(0) 推荐(0) 编辑
  2019年12月13日
摘要: var i = 2function f() { console.log(i) i = i - 1; if (i > 0) arguments.callee()}function f2(){ f()}f2() 如何在JavaScript函数中获取函数名称? 怎么可能学习我所在的功能名称? 以下代码警告 阅读全文
posted @ 2019-12-13 14:14 xsSystem 阅读(216) 评论(0) 推荐(0) 编辑
  2019年12月12日
摘要: Ext.MessageBox常用配置项: 配置项 类型 说明 title String 提示框标题 msg String 显示的消息内容 width Number 对话框的宽度,以px为单位 maxWidth Number 对话框的最大宽度,默认为600px minWidth Number 对话框的 阅读全文
posted @ 2019-12-12 15:57 xsSystem 阅读(214) 评论(0) 推荐(0) 编辑
  2019年12月9日
摘要: actioncolumn templatecolumn 阅读全文
posted @ 2019-12-09 16:58 xsSystem 阅读(267) 评论(0) 推荐(0) 编辑
  2019年11月15日
摘要: sql = "UPDATE xsT_marketMain SET tf_mkInvoice2 = DSum('tf_allocateAmount','xsT_invoicesDetail','tf_HDid=" + record.tf_HDid + "') WHERE tf_id=" + recor 阅读全文
posted @ 2019-11-15 16:27 xsSystem 阅读(83) 评论(0) 推荐(0) 编辑
  2019年4月20日
摘要: var reg = new RegExp(text + ":[\\s\\S]*?;", "g");var t=text.replace(/\//g, '') /\// 匹配 / var reg = /"dataIndex"\s*:\s*"\w+"/g; 匹配 "dataIndex:foo" 阅读全文
posted @ 2019-04-20 10:00 xsSystem 阅读(135) 评论(0) 推荐(0) 编辑
  2019年4月16日
摘要: JavaScript中知而不全的this 阅读全文
posted @ 2019-04-16 05:43 xsSystem 阅读(188) 评论(0) 推荐(0) 编辑
  2019年3月20日
摘要: quickFilters: [ { labelWidth: 26, labelSeparator: '', fieldLabel: '核毕', qtip: '不显示核销完毕', inputValue: " (tc_cfNoPayoff <>0) ", name: '@filterString@', 阅读全文
posted @ 2019-03-20 17:04 xsSystem 阅读(185) 评论(0) 推荐(0) 编辑
  2018年8月31日
摘要: var rec = new XS.model.User({ id: 12, name: 'Foo' }); var viewModel = new Ext.app.ViewModel({ links: { theUser: { type: 'xsT_comeg8989o', id: 17 } }, 阅读全文
posted @ 2018-08-31 11:44 xsSystem 阅读(312) 评论(0) 推荐(0) 编辑
  2018年7月27日
摘要: fMoney: function (v, color) { if (v === 0) return "0.00"; v = (Math.round((v - 0) * 100)) / 100; v = (v === Math.floor(v)) ? v + ".00" : ((... 阅读全文
posted @ 2018-07-27 17:24 xsSystem 阅读(269) 评论(0) 推荐(0) 编辑
  2018年6月29日
摘要: https://blog.csdn.net/davidxj/article/details/4103647 阅读全文
posted @ 2018-06-29 14:14 xsSystem 阅读(160) 评论(0) 推荐(0) 编辑
  2018年6月27日
摘要: create: function() { var name = arguments[0], nameType = typeof name, args = arraySlice.call(arguments, 1), cls; if (name... 阅读全文
posted @ 2018-06-27 23:09 xsSystem 阅读(601) 评论(0) 推荐(0) 编辑
  2018年4月8日
摘要: onRender: function (grid) { var tip = Ext.create('Ext.tip.ToolTip', { title: 'Detail', minWidth: 800, maxWidth: 800, minHeight: 200, ... 阅读全文
posted @ 2018-04-08 19:03 xsSystem 阅读(284) 评论(0) 推荐(0) 编辑
  2018年4月7日
摘要: 阅读全文
posted @ 2018-04-07 09:28 xsSystem 阅读(110) 评论(0) 推荐(0) 编辑
  2018年4月2日
摘要: 如果ext grid panel 中单元格数据过长,ext会以“...”的形式显示,可以通过Ext.tip.ToolTip 插件来显示,官网的例子: http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.tip.ToolTip var grid = Ext.cr 阅读全文
posted @ 2018-04-02 20:42 xsSystem 阅读(423) 评论(0) 推荐(0) 编辑
  2018年3月30日
摘要: lookupReference 获取得到null,未指定视图控制器ViewController, // itemId ='grid-xsT_cashFlow-financeDept' 以下两种方式结果相同 this.up('window').down('#grid-xsT_cashFlow-fina 阅读全文
posted @ 2018-03-30 15:30 xsSystem 阅读(229) 评论(0) 推荐(0) 编辑
  2018年3月27日
摘要: extraParams:将在每次请求中包含的额外参数。个别请求中具有相同名称的参数, 当它们冲突时,这些参数会进行重写。 get提交 filter范围内,与extraParams无关 store.setFilters({ "operator": "eq", "value":‘some’ "prope 阅读全文
posted @ 2018-03-27 15:08 xsSystem 阅读(518) 评论(0) 推荐(0) 编辑
  2017年9月15日
摘要: 获取列信息相关操作 grid.columns 某些时候获取不到数据,使用grid.getColumns() 可以 grid.columns 获取不到表格最前一列的选择框列,grid.getColumns() 可以完整的获取 grid.columns,grid.getColumns()获取的都包含隐藏 阅读全文
posted @ 2017-09-15 19:28 xsSystem 阅读(1003) 评论(0) 推荐(0) 编辑
  2016年10月28日
摘要: 今天部署一个asp程序,居然耗费了我1个多小时的精力,原来居然是C:\Windows\Temp的everyone的读写权限在作怪!!! 方法1: 错误类型: Microsoft OLE DB Provider for ODBC Drivers (’0×80004005′) [Microsoft][O 阅读全文
posted @ 2016-10-28 11:08 xsSystem 阅读(7576) 评论(0) 推荐(0) 编辑
  2016年9月13日
摘要: Ext.data.Batch实例 Ext.data.Batch用于管理批量操作中的各个Ext.data.Operation实例,一般在Ext.data.proxy.Proxy内部使用,就是proxy会自动配置该项),配置时不用配置。 Ext.data.Operation实例 {create,upda 阅读全文
posted @ 2016-09-13 12:40 xsSystem 阅读(265) 评论(0) 推荐(0) 编辑
  2016年9月1日
摘要: 修订版: 2.9 这份指南中, 可以点击旁边的按钮来显示更多的细节. Hooray! 这里是更多详细的内容, 你也可以点击最上面的"显示/隐藏全部按钮"来切换显示更多内容. JavaScript 是一种客户端脚本语言, Google 的许多开源工程中都有用到它. 这份指南列出了编写 JavaScri 阅读全文
posted @ 2016-09-01 11:01 xsSystem 阅读(364) 评论(0) 推荐(0) 编辑
  2013年8月21日
摘要: http://xujingli88.blog.163.com/blog/static/41178619200971194925196/ 阅读全文
posted @ 2013-08-21 17:27 xsSystem 阅读(312) 评论(0) 推荐(0) 编辑
  2013年6月24日
摘要: 有id,/?act=getData&_dc=1372087980533&node=1 阅读全文
posted @ 2013-06-24 23:37 xsSystem 阅读(290) 评论(0) 推荐(0) 编辑
  2013年6月18日
摘要: 下文均已服务器端查询为例,一般我们载入数据通过 store.load() 如果要过滤数据则使用 已下下转至: Extjs中store的filter和filterBy的用法,客户端过滤 在Extjs设计界面,很多时候并不需要将所有的数据都显示到界面上,这样子我们可以通过在创建store时添加filte 阅读全文
posted @ 2013-06-18 19:44 xsSystem 阅读(1736) 评论(0) 推荐(0) 编辑
  2013年6月8日
摘要: function a(){ this.age=15 return this }var obj={name:'liuDeHua',sex:'man'}var c= a.apply(obj)c--------------------------------------------------得到 Object { name="liuDeHua", sex="man", age=15}==================================================改代码为 function a(){ this 阅读全文
posted @ 2013-06-08 20:34 xsSystem 阅读(230) 评论(0) 推荐(0) 编辑