随笔 - 128  文章 - 0  评论 - 1  阅读 - 40740

随笔分类 -  ExtJs

上一页 1 2 3 下一页
无法访问此网站 raw.githubusercontent.com
摘要:Windows上可以这样办:上https://www.ipaddress.com查一下raw.githubusercontent.com的ipv4地址,比如我现在查到的是 打开C:/Windows/System32/drivers/etc/hosts文件,添加 阅读全文
posted @ 2021-12-10 14:00 wakaka_wka 阅读(707) 评论(0) 推荐(0) 编辑
ExtJs Window 显示 HTML
摘要:var win = new Ext.Window({ title: 'My Window', width: 640, height: 400, preventBodyReset: true, html: '<h1>This should be the way you expect it!</h1>' 阅读全文
posted @ 2021-11-27 18:02 wakaka_wka 阅读(153) 评论(0) 推荐(0) 编辑
GridPanel BufferRender
摘要:gc.bufferedRenderer.leadingBufferZone=300;//下拉预加载条数(此值过大的话,将影响首次加截数据至UI可响应操作的时间) gc.bufferedRenderer.trailingBufferZone=100;//上拉预加载条数Ext.grid.plugin.B 阅读全文
posted @ 2021-09-09 11:30 wakaka_wka 阅读(39) 评论(0) 推荐(0) 编辑
ComboBox forceSelection typeAhead
摘要:ctl.forceSelection=true; 输入的项必须是列表中的项 ctl.typeAhead=true; 输入后自动补全还有一个:enableRegEx=true 阅读全文
posted @ 2021-09-04 18:26 wakaka_wka 阅读(37) 评论(0) 推荐(0) 编辑
Extjs 超时
摘要:Ext.data.Connection.prototype.timeout = t; Ext.Ajax.setTimeout(t); Ext.net.DirectEvent.setTimeout(t); Ext.data.proxy.Server.prototype.timeout = t; 阅读全文
posted @ 2021-08-03 14:58 wakaka_wka 阅读(57) 评论(0) 推荐(0) 编辑
GridPanel BufferRender Plugin
摘要:gc.getView().bufferedRenderer.scrollTo(0, false);gc.plugins to get the plugin grid.getView().bufferedRenderer.scrollTo(0, false, function () { grid.ge 阅读全文
posted @ 2021-06-16 10:03 wakaka_wka 阅读(33) 评论(0) 推荐(0) 编辑
e.record.commit 逆方法
摘要:e.record.reject 阅读全文
posted @ 2021-05-28 10:04 wakaka_wka 阅读(71) 评论(0) 推荐(0) 编辑
Extjs fieldLabel Style
摘要:Ext.define('Ext.ux.form', { extend: 'Ext.form.Panel', listeners: { 'beforeadd': function(){ if (!field.allowBlank) { field.labelClsExtra = 'x-required 阅读全文
posted @ 2021-05-27 12:32 wakaka_wka 阅读(159) 评论(0) 推荐(0) 编辑
TextField 设置背景色
摘要:c_Tid.setFieldStyle('background-color: #ddd; background-image: none;'); 阅读全文
posted @ 2021-05-08 18:45 wakaka_wka 阅读(298) 评论(0) 推荐(0) 编辑
GridPanel 分页信息获取
摘要:gc.getStore().getTotalCount();//总条数,不一定全部已加载可以是分页计算结果得到的总条数但是页面只加载第一页 gc.getStore().currentPage;//当前页号 gc.getStore().getProxy().extraParams; 阅读全文
posted @ 2021-05-05 18:20 wakaka_wka 阅读(51) 评论(0) 推荐(0) 编辑
GridPanel Dynamic add column
摘要:var col_updator= Ext.create('Ext.grid.column.Column', {id:"col_Updator",filter:true,items:[{plugins:[{ptype:"clearbutton"}],xtype:"textfield"}],dataIn 阅读全文
posted @ 2021-05-05 09:25 wakaka_wka 阅读(41) 评论(0) 推荐(0) 编辑
ExtJs Window Url
摘要:winEdt.getFrame().contentWindow.location.href 阅读全文
posted @ 2021-04-20 18:53 wakaka_wka 阅读(35) 评论(0) 推荐(0) 编辑
tabPanel Hide Tab
摘要:var tabPanel = Ext.create("Ext.tab.Panel", { id: 'TAB_PANEL_ID', renderTo: Ext.getBody(), items:[{ title: 'Tab 1', itemId: 'TAB_1', html: 'This is the 阅读全文
posted @ 2021-02-18 15:06 wakaka_wka 阅读(61) 评论(0) 推荐(0) 编辑
ExtJs DateField 清空按钮
摘要:function showDateClrBtn(ctl){ Ext.form.DateField.prototype.onTriggerClick.apply(this, arguments); let ctlid=ctl.id; let hasbtn =ctl.picker.todayBtn.co 阅读全文
posted @ 2020-11-28 10:49 wakaka_wka 阅读(445) 评论(0) 推荐(0) 编辑
GridPanel fireEvent dataChanged
摘要:Ext.getCmp('ext-comp-1010').getStore().fireEvent('dataChanged'); 阅读全文
posted @ 2020-11-28 10:09 wakaka_wka 阅读(65) 评论(0) 推荐(0) 编辑
GridPanel celldblclick
摘要:gc.on('celldblclick', function(item,td,cellIndex,record,tr,rowIndex,e) { let fed=item.ownerGrid.getColumns()[cellIndex].dataIndex;//do what u want }); 阅读全文
posted @ 2020-10-30 15:59 wakaka_wka 阅读(148) 评论(0) 推荐(0) 编辑
gridpanel data load handler
摘要:gc.getStore().on('load',function(store,records,successful,operation){ //do what u want }); make use of the { single: true } property when you just nee 阅读全文
posted @ 2020-10-30 11:31 wakaka_wka 阅读(94) 评论(0) 推荐(0) 编辑
GridPanel TopBar Dynamic add button
摘要:gc.down('toolbar').add({xtype:'button',text:'NewButton',iconCls:'icon-tableadd',itemId:'btndn',handler:function(){debugger;}}); gc.down('toolbar').rem 阅读全文
posted @ 2020-10-19 11:05 wakaka_wka 阅读(70) 评论(0) 推荐(0) 编辑
extjs grid 隐藏筛选行
摘要:$('.x-group-sub-header').hide() 阅读全文
posted @ 2020-07-10 23:01 wakaka_wka 阅读(296) 评论(0) 推荐(0) 编辑
ExtJs GridFilter 操作
摘要:表格列小箭头下拉下来的GridFilter 筛选操作grid.getFilterPlugin().clearFilters(); grid.getFilterPlugin().getFilter('dataindex').setValue("value"); //string filter grid 阅读全文
posted @ 2020-06-23 10:12 wakaka_wka 阅读(786) 评论(0) 推荐(0) 编辑

上一页 1 2 3 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示