code
stringlengths
1
2.08M
language
stringclasses
1 value
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.grid.GroupingView * @extends Ext.grid.GridView * Adds the ability for single level grouping to the grid. A {@link Ext.data.GroupingStore GroupingStore} * must be used to en...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.grid.PivotAxis * @extends Ext.Component * <p>PivotAxis is a class that supports a {@link Ext.grid.PivotGrid}. Each PivotGrid contains two PivotAxis instances - the left * a...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ // private // This is a support class used internally by the Grid components Ext.grid.SplitDragZone = Ext.extend(Ext.dd.DDProxy, { fly: Ext.Element.fly, constructor : function(grid...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.grid.PivotGridView * @extends Ext.grid.GridView * Specialised GridView for rendering Pivot Grid components. Config can be passed to the PivotGridView via the PivotGrid const...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.grid.GridDragZone * @extends Ext.dd.DragZone * <p>A customized implementation of a {@link Ext.dd.DragZone DragZone} which provides default implementations of two of the * t...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Viewport * @extends Ext.Container * <p>A specialized container representing the viewable application area (the browser viewport).</p> * <p>The Viewport renders itself to th...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Panel * @extends Ext.Container * <p>Panel is a container that has specific functionality and structural components that make * it the perfect building block for application...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.SplitBar * @extends Ext.util.Observable * Creates draggable splitter bar functionality from two elements (element to be dragged and element to be resized). * <br><br> * Us...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.LoadMask * A simple utility class for generically masking elements while loading data. If the {@link #store} * config option is specified, the masking will be automatically...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Component * @extends Ext.util.Observable * <p>Base class for all Ext components. All subclasses of Component may participate in the automated * Ext component lifecycle of ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Resizable * @extends Ext.util.Observable * <p>Applies drag handles to an element to make it resizable. The drag handles are inserted into the element * and positioned absol...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.FlashProxy * @singleton */ Ext.FlashEventProxy = { onEvent : function(id, e){ var fp = Ext.getCmp(id); if(fp){ fp.onFlashEvent(e); }e...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.FlashComponent * @extends Ext.BoxComponent * @constructor * @xtype flash */ Ext.FlashComponent = Ext.extend(Ext.BoxComponent, { /** * @cfg {String} flashVersion ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /*! SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var swfobject = function() { v...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.ButtonGroup * @extends Ext.Panel * Container for a group of buttons. Example usage: * <pre><code> var p = new Ext.Panel({ title: 'Panel with Button Group', width: 3...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.debug = {}; (function(){ var cp; function createConsole(){ var scriptPanel = new Ext.debug.ScriptsPanel(); var logView = new Ext.debug.LogPanel(); var tree = new Ext.debug.D...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.Element.addMethods({ /** * Initializes a {@link Ext.dd.DD} drag drop object for this element. * @param {String} group The group the DD object is ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.CompositeElement * @extends Ext.CompositeElementLite * <p>This class encapsulates a <i>collection</i> of DOM elements, providing methods to filter * members, or to perform ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.Element.addMethods({ /** * Stops the specified event(s) from bubbling and optionally prevents the default action * @param {String/Array} eventNam...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.Element.addMethods({ /** * Convenience method for constructing a KeyMap * @param {Number/Array/Object/String} key Either a string with the keys t...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.Element.addMethods( function() { var VISIBILITY = "visibility", DISPLAY = "display", HIDDEN = "hidden...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Template */ Ext.apply(Ext.Template.prototype, { /** * @cfg {Boolean} disableFormats Specify <tt>true</tt> to disable format * functions in the template. If the ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.apply(Ext.Element.prototype, function() { var GETDOM = Ext.getDom, GET = Ext.get, DH = Ext.DomHelper; return { /** * Inserts (or creates) the ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext */ Ext.ns("Ext.grid", "Ext.list", "Ext.dd", "Ext.tree", "Ext.form", "Ext.menu", "Ext.state", "Ext.layout.boxOverflow", "Ext.app", "Ext.ux", "Ext.chart", "Ext.direct",...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.Element.addMethods({ /** * Gets the x,y coordinates specified by the anchor position on the element. * @param {String} anchor (optional) The spec...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.Element.addMethods({ /** * Creates a {@link Ext.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.EventManager */ Ext.apply(Ext.EventManager, function(){ var resizeEvent, resizeTask, textEvent, textSize, D = Ext.lib.Dom, propRe = /^(?:s...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.CompositeElementLite */ Ext.apply(Ext.CompositeElementLite.prototype, { addElements : function(els, root){ if(!els){ return this; } if...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * Framework-wide error-handler. Developers can override this method to provide * custom exception-handling. Framework errors will often extend from the base * Ext.Error class. * @para...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.DomHelper */ Ext.apply(Ext.DomHelper, function(){ var pub, afterbegin = 'afterbegin', afterend = 'afterend', beforebegin = 'beforebegin', ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.Element.addMethods({ /** * Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x and y wi...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ Ext.Element.addMethods({ /** * Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will t...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Element */ // special markup used throughout Ext when box wrapping elements Ext.Element.boxMarkup = '<div class="{0}-tl"><div class="{0}-tr"><div class="{0}-tc"></div></div>...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.state.CookieProvider * @extends Ext.state.Provider * The default Provider implementation which saves state via cookies. * <br />Usage: <pre><code> var cp = new Ext.sta...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.state.Provider * Abstract base class for state provider implementations. This class provides methods * for encoding and decoding <b>typed</b> variables including dates and d...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.state.Manager * This is the global state manager. By default all components that are "state aware" check this class * for state information if you don't pass them a custom s...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Direct * @extends Ext.util.Observable * <p><b><u>Overview</u></b></p> * * <p>Ext.Direct aims to streamline communication between the client and server * by providing a si...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Direct.Transaction * @extends Object * <p>Supporting Class for Ext.Direct (not intended to be used directly).</p> * @constructor * @param {Object} config */ Ext.Direct.Tr...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.direct.Provider * @extends Ext.util.Observable * <p>Ext.direct.Provider is an abstract class meant to be extended.</p> * * <p>For example ExtJs implements the following s...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.direct.JsonProvider * @extends Ext.direct.Provider */ Ext.direct.JsonProvider = Ext.extend(Ext.direct.Provider, { parseResponse: function(xhr){ if(!Ext.isEmpty(x...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.Direct.Event = function(config){ Ext.apply(this, config); }; Ext.Direct.Event.prototype = { status: true, getData: function(){ return this.data; } }; Ext.Direct.Re...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.direct.RemotingProvider * @extends Ext.direct.JsonProvider * * <p>The {@link Ext.direct.RemotingProvider RemotingProvider} exposes access to * server side methods on the ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.lib.Dom.getRegion = function(el) { return Ext.lib.Region.getRegion(el); };
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.util.CSS * Utility class for manipulating CSS rules * @singleton */ Ext.util.CSS = function(){ var rules = null; var doc = document; var camelRe = /(-[a-z])/gi; ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.util.Format * Reusable data formatting functions * @singleton */ Ext.util.Format = function() { var trimRe = /^\s+|\s+$/g, stripTagsRE = /<\/?[^>]+>/...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.util.Observable */ Ext.apply(Ext.util.Observable.prototype, function(){ // this is considered experimental (along with beforeMethod, afterMethod, removeMethodListener?) ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.KeyMap * Handles mapping keys to actions for an element. One key map can be used for multiple actions. * The constructor accepts the same config object as defined by {@link ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.KeyNav * <p>Provides a convenient wrapper for normalized keyboard navigation. KeyNav allows you to bind * navigation keys to function calls that will get called when the ke...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.Updater * @extends Ext.util.Observable * Provides AJAX-style update capabilities for Element objects. Updater can be used to {@link #update} * an {@link Ext.Element} once,...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.util.MixedCollection * @extends Ext.util.Observable * A Collection class that maintains both numeric indexes and keys and exposes events. * @constructor * @param {Boolean}...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.util.TextMetrics * Provides precise pixel measurements for blocks of text so that you can determine exactly how high and * wide, in pixels, a given block of text will be. No...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.XTemplate * @extends Ext.Template * <p>A template class that supports advanced functionality like:<div class="mdetail-params"><ul> * <li>Autofilling arrays using templates ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.AbstractManager * @extends Object * Base Manager class - extended by ComponentMgr and PluginMgr */ Ext.AbstractManager = Ext.extend(Object, { typeName: 'type', ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.util.Functions * @singleton */ Ext.util.Functions = { /** * Creates an interceptor function. The passed function is called before the original one. If it returns fa...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Date * * The date parsing and formatting syntax contains a subset of * <a href="http://www.php.net/date">PHP's date() function</a>, and the formats that are * supported will p...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.History * @extends Ext.util.Observable * History management component that allows you to register arbitrary tokens that signify application * history state on navigation ac...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.util.Cookies * Utility class for managing and interacting with cookies. * @singleton */ Ext.util.Cookies = { /** * Create a cookie with the specified name and valu...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** @class Ext.util.ClickRepeater @extends Ext.util.Observable A wrapper class which can be applied to any element. Fires a "click" event while the mouse is pressed. The interval between f...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.ns('Ext.samples'); (function() { SamplePanel = Ext.extend(Ext.DataView, { autoHeight : true, frame : true, cls : 'demos', itemSelector : 'dd', overCl...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class pivot.AxisGrid * @extends Ext.grid.EditorGridPanel * Grid used to control the dimensions in a PivotGrid axis */ pivot.AxisGrid = Ext.extend(Ext.grid.EditorGridPanel, { ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function() { var SaleRecord = Ext.data.Record.create([ {name: 'person', type: 'string'}, {name: 'product', type: 'string'}, {name: 'city', type: '...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.ns('pivot'); Ext.onReady(function() { var SaleRecord = Ext.data.Record.create([ {name: 'person', type: 'string'}, {name: 'product', type: 'string'}, {name: '...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class pivot.ConfigPanel * @extends Ext.Panel * A configuration panel used for modifying the properties of a PivotGrid. */ pivot.ConfigPanel = Ext.extend(Ext.Panel, { title:...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function() { var myStore = new Ext.data.ArrayStore({ autoLoad: true, fields: [ 'economy', 'region', 'year', {name: 'procedures', type: 'i...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * Multiple PivotGrid examples. Each PivotGrid shares a common Record and Store and simply presents * the data in a different way. For full details on using PivotGrid see the API documenta...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ //script used to generate data.json (function() { function buildData(count) { count = count || 1000; var products = ['Ladder', 'Spanner', 'Chair', 'Hammer'], ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function(){ // The action var action = new Ext.Action({ text: 'Action 1', handler: function(){ Ext.example.msg('Click','You clicked on "Action 1"...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // Menus can be prebuilt and passed by reference var dateMenu = new Ext.menu.DateMenu({ handler: function(dp, date){ ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.ns('Ext.app'); Ext.app.ContactForm = Ext.extend(Ext.FormPanel, { formTitle: 'Contact Information (English)', firstName: 'First Name', lastName: 'Surname', surnamePrefix: 'S...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ // some data used in the examples Ext.namespace('Ext.exampledata'); Ext.exampledata.dutch_provinces = [ ['Drenthe'], ['Flevoland'], ['Friesland'], ['Gelderland'], ['Groningen'], ['Limbur...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ MultiLangDemo = function() { // get the selected language code parameter from url (if exists) var params = Ext.urlDecode(window.location.search.substring(1)); Ext.form.Field.prototy...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ if(Ext.app.ContactForm) { Ext.apply(Ext.app.ContactForm.prototype, { formTitle: 'Contact Informatie (Dutch)', firstName: 'Voornaam', lastName: 'Achternaam', ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ // Application instance for showing user-feedback messages. var App = new Ext.App({}); // Create a standard HttpProxy instance. var proxy = new Ext.data.HttpProxy({ url: 'app.php/users' })...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // Album toolbar var newIndex = 3; var tb = new Ext.Toolbar({ items:[{ text: 'New Album', iconCls:...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.ns('Ext.samples'); Ext.samples.samplesCatalog = [{ title: 'Combination Examples', samples: [ { text: 'Feed Viewer', url: 'feed-viewer/view.html', ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ var ResizableExample = { init : function(){ var basic = new Ext.Resizable('basic', { width: 200, height: 100, minWidth:100, ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ SampleGrid = function(limitColumns){ function italic(value){ return '<i>' + value + '</i>'; } function change(val){ if(val > 0){ return '<span style="c...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function(){ // NOTE: This is an example showing simple state management. During development, // it is generally best to disable state management as dynamically-generated id...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function() { Ext.QuickTips.init(); var tree = new Ext.ux.tree.TreeGrid({ title: 'Core Team Projects', width: 500, height: 300, renderTo: Ext...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function() { var toolbar = new Ext.Toolbar({ renderTo: 'docbody', plugins : [ new Ext.ux.ToolbarDroppable({ createItem: function(data...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function(){ var handleAction = function(action){ Ext.example.msg('<b>Action</b>', 'You clicked "'+action+'"'); }; var p = new Ext.Window({ title: '...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function(){ var SamplePanel = Ext.extend(Ext.Panel, { width: 500, height:250, style: 'margin-top:15px', bodyStyle: 'padding:10px', r...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function() { var toolbar = new Ext.Toolbar({ plugins : [ new Ext.ux.ToolbarReorderer({ defaultReorderable: true }) ], ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function() { // The only requirement for this to work is that you must have a hidden field and // an iframe available in the page with ids corresponding to Ext.History...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.onReady(function(){ Ext.get('mb1').on('click', function(e){ Ext.MessageBox.confirm('Confirm', 'Are you sure you want to do that?', showResult); }); Ext.get('mb2').on('c...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.AlbumTree = Ext.extend(Ext.tree.TreePanel,{ initComponent: function() { Ext.apply(this,{ loader: new Ext.ux.tree.DirectTreeLoader({ api: Imgorg.ss...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.ImageThumbPanel = Ext.extend(Ext.Panel, { minWidth: 80, title: 'All Photos', initComponent: function() { this.tfId = 'tag-filter-'+Ext.id(); var...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.ns('Ext.ux.MultiCombo'); /** * Checkable * @plugin */ Ext.ux.MultiCombo.Checkable = function(cfg) { Ext.apply(this, cfg); }; Ext.ux.MultiCombo.Checkable.prototype = { /** * @cfg {St...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.AlbumsPanel = Ext.extend(Ext.Panel,{ initComponent: function() { Ext.apply(this, { layout: 'column', defaults: { border: false ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.AlbumWin = Ext.extend(Ext.Window, { title: 'Choose Album', layout: 'fit', closeAction: 'hide', width: 300, modal: true, initComponent: function() { E...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.ns('Ext.ux'); /** * Ext.ux.MultiCombo */ Ext.ux.MultiCombo = Ext.extend(Ext.form.ComboBox, { /** * @cfg {String} overClass [x-grid3-row-over] */ overClass : 'x-grid3-row-over', /...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.ImagePanel = Ext.extend(Ext.Panel,{ closable: true, border: false, tagTpl: new Ext.XTemplate( '<h3 class="image-prop-header">Tags</h3>', '<tpl for=".">', ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.TagWindow = Ext.extend(Ext.Window, { title: 'Choose Tag', layout: 'fit', closeAction: 'hide', width: 300, modal: true, initComponent: function() { Ex...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /* * Sample Image Organizer utilizing Ext.Direct * Tagging/Organizing into galleries * Image uploading */ Ext.ns('Imgorg','Imgorg.App'); Imgorg.App = function() { var swfu; SWFUplo...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.DirectCombo = Ext.extend(Ext.form.ComboBox, { displayField: 'text', valueField: 'id', triggerAction: 'all', queryAction: 'name', forceSelection: true, mode: 'remo...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.ImageDv = Ext.extend(Ext.DataView,{ tpl: new Ext.XTemplate( '<tpl for=".">', '<div class="thumb-wrap" id="{id}">', '<div class="thumb"><img src="images/thumbs...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Imgorg.UploadQueue = Ext.extend(Ext.Panel,{ swfu: '', autoRemove: false, uploaded: false, initComponent: function() { Ext.apply(this,{ layout: 'fit', ...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * SWFUpload: http://www.swfupload.org, http://swfupload.googlecode.com * * mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/ * * SWFU...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /* Cookie Plug-in This plug in automatically gets all the cookies for this site and adds them to the post_params. Cookies are loaded only on initialization. The refreshCookies function ca...
JavaScript
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /* Queue Plug-in Features: *Adds a cancelQueue() method for cancelling the entire queue. *All queued files are uploaded when startUpload() is called. *If false is returned from upload...
JavaScript