This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getUniqueGlobalNamespace: function() { | |
var uniqueGlobalNamespace = this.uniqueGlobalNamespace; | |
if (uniqueGlobalNamespace === undefined) { | |
var i = 0; | |
do { | |
uniqueGlobalNamespace = 'ExtBox' + (++i); | |
} while (Ext.global[uniqueGlobalNamespace] !== undefined); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getAlignToXY : function(alignToEl, posSpec, offset) { | |
alignToEl = Ext.get(alignToEl); | |
if (!alignToEl || !alignToEl.dom) { | |
//<debug> | |
Ext.Error.raise({ | |
sourceClass: 'Ext.dom.Element', | |
sourceMethod: 'getAlignToXY', | |
msg: 'Attempted to align an element that doesn\'t exist' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Stateful Array Grid Example</title> | |
<!-- ** CSS ** --> | |
<!-- base library --> | |
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> | |
<!-- ** Javascript ** --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.require('*'); | |
Ext.onReady(function() { | |
Ext.define('Employee', { | |
extend: 'Ext.data.Model', | |
fields: [ | |
{name: 'rating', type: 'int'}, | |
{name: 'salary', type: 'float'}, | |
{name: 'name'} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @class Ext.EventManager | |
* Registers event handlers that want to receive a normalized EventObject instead of the standard browser event and provides | |
* several useful events directly. | |
* See {@link Ext.EventObject} for more details on normalized event objects. | |
* @singleton | |
*/ | |
Ext.EventManager = new function() { | |
var EventManager = this, | |
doc = document, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Load + Startup test</title> | |
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> | |
<script type="text/javascript"> | |
window.start = new Date().getTime(); | |
</script> | |
<script type="text/javascript" src="../../ext-all.js"></script> | |
<script type="text/javascript"> | |
Ext.require(['*']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.require('*'); | |
Ext.onReady(function() { | |
Ext.QuickTips.init(); | |
Ext.getBody().update(''); | |
// setup the state provider, all state information will be saved to a cookie | |
Ext.state.Manager.setProvider(Ext.create('Ext.state.CookieProvider')); | |
// sample static data for the store | |
var myData = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Auto heihght grid</title> | |
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> | |
<link rel="stylesheet" type="text/css" href="../shared/example.css" /> | |
<script type="text/javascript" src="../../ext-all.js"></script> | |
<script type="text/javascript"> | |
Ext.Loader.setConfig({enabled: true}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cluster: | |
name: CMTPRODLDN | |
network: | |
host: ********* | |
node: | |
data: true | |
path: |
OlderNewer