extjs2

Use ExtJs and JQuery together in one application?

試著忘記壹切 提交于 2020-01-14 12:59:49
问题 we have a big ExtJS (still ExtJs 2) application, which provides windows explorer like functionality on a Java EE server. We now evaluate implementing a new functionality; we could base this functionality on a jQuery plug in. Is it recommended to use jQuery and ExtJs in one application? Or will I have to deal with side effects occurring? 回答1: You will not have to deal with any side effect. The only problems I ever ran into when I did this is if I tried to operate on elements that Extjs relied

Cannot read property 'isTree' of undefined Extjs 4

天涯浪子 提交于 2019-12-24 13:55:00
问题 I trying to update code from extjs2 to extjs4, but I have an error and something wrong with grid . My Google Chrome browser return error Cannot read property 'isTree' of undefined Ext.define('App.grid.GridPanel', { extend: 'Ext.grid.GridPanel', alias: 'widget.gridpanel', frame: false, loadMask: true, stateful: false, enableColumnHide: false, showGridHeader: true, viewConfig: { stripeRows: true }, initComponent: function() { if (!this.showGridHeader) { this.addClass('grid-no-header'); } App

ext js - el.ownerDocument.createRange() errors in IE 8

≯℡__Kan透↙ 提交于 2019-12-12 04:23:38
问题 HI, I am trying to dynamically add a form to a tab in Ext-js. (the tab has already been rendered). fyi, i am using I am using Ext 2.2. the error occurs when during the tab.add function: ie: function tabactivate(tab) { var newItem= new Ext.FormPanel(.....); **tab.add(newItem)**; //ERRORS HERE tab.doLayout(); } I get this error on line 247 of ext-all-debug.js which is range = el.ownerDocument.createRange(); the error is (Object doesn't support this property or method.) This works fine in

ExtJs datefield converts invalid date to valid date

老子叫甜甜 提交于 2019-12-07 20:54:21
问题 I am using ExtJS 2.1 and I have the following problem, I hate a 'datefield'. Now the date has to be entered in the format 'MM/DD/YYYY'. The problem is if the user enters something like '21/17' or '16/05' it gets converted to a valid date. (21/17 gets converted to 9/17/2015 and 16/05 gets converted to 4/05/2015). How do I override this behavior? I tried writing my own validator but that didn't help either, even if my validator returns 'false' the conversion still happens. Here is the code

ExtJs datefield converts invalid date to valid date

拈花ヽ惹草 提交于 2019-12-06 07:56:38
I am using ExtJS 2.1 and I have the following problem, I hate a 'datefield'. Now the date has to be entered in the format 'MM/DD/YYYY'. The problem is if the user enters something like '21/17' or '16/05' it gets converted to a valid date. (21/17 gets converted to 9/17/2015 and 16/05 gets converted to 4/05/2015). How do I override this behavior? I tried writing my own validator but that didn't help either, even if my validator returns 'false' the conversion still happens. Here is the code below: var d = new Ext.form.DateField({ el: el.dom, id: id, format: 'm/d/Y', hideTrigger: false, allowBlank