code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // turn on validation errors beside the field globally Ext.form.Field.prototype.msgTarget = 'side'; var bd = Ext.getBody...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.app.SearchField = Ext.extend(Ext.form.TwinTriggerField, { initComponent : function(){ Ext.app.SearchField.superclass.initComponent.call(this); this.on('specia...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var ds = new Ext.data.Store({ proxy: new Ext.data.ScriptTagProxy({ url: 'http://extjs.com/forum/topics-remote.php' }), ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function() { var form = new Ext.form.FormPanel({ baseCls: 'x-plain', layout:'absolute', url:'save-form.php', defaultType: 'textfield...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // some data used in the examples Ext.namespace('Ext.exampledata'); Ext.exampledata.states = [ ['AL', 'Alabama', 'The Heart of Dixie'], ['AK', 'Alaska', 'The Land of th...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // Add the additional 'advanced' VTypes Ext.apply(Ext.form.VTypes, { daterange: function(val, field) { var date = field.parseDate(val); // We need to force the picke...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // turn on validation errors beside the field globally Ext.form.Field.prototype.msgTarget = 'side'; var bd = Ext.getBody...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // turn on validation errors beside the field globally Ext.form.Field.prototype.msgTarget = 'side'; var fs = new Ext.For...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * Makes a ComboBox more closely mimic an HTML SELECT. Supports clicking and dragging * through the list, with item selection occurring when the mouse button is released. * Wh...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // simple array store var store = new Ext.data.SimpleStore({ fields: ['abbr', 'state', 'nick'], data : Ext.exa...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var ds = new Ext.data.Store({ proxy: new Ext.data.ScriptTagProxy({ url: 'http://extjs.com/forum/topics-remote.php' }), r...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ new Ext.ToolTip({ target: 'tip1', html: 'A very simple tooltip' }); new Ext.ToolTip({ target: 'ajax-tip', wi...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ //==== Progress bar 1 ==== var pbar1 = new Ext.ProgressBar({ text:'Initializing...' }); var btn1 = Ext.get('btn1'); btn1.on('cli...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.state.Manager.setProvider( new Ext.state.SessionProvider({state: Ext.appState})); var button = Ext.get('show-btn'); but...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var win; var button = Ext.get('show-btn'); button.on('click', function(){ // create the window on the first click and reuse on subseque...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.BLANK_IMAGE_URL = '../../resources/images/default/s.gif'; Ext.example = function(){ var msgCt; function createBox(t, s){ return ['<div class="msg">', ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /* * Ext JS Library 2.0 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var chooser, btn; ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var xd = Ext.data; var store = new Ext.data.JsonStore({ url: 'get-images.php', root: 'images', fields: ['name', 'url', {na...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.DataView.LabelEditor = function(cfg, field){ Ext.DataView.LabelEditor.superclass.constructor.call(this, field || new Ext.form.TextField({ allowBlank: fa...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /* * Ext JS Library 2.0 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ var ImageChooser = function(config){ this.config ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var p = new Ext.Panel({ title: 'My Panel', collapsible:true, renderTo: 'container', width:400, html: Ext.exampl...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // Very simple plugin for adding a close context menu to tabs Ext.ux.TabCloseMenu = function(){ var tabs, menu, ctxItem; this.init = function(tp){ tabs = tp; ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ // basic tabs 1, built from existing content var tabs = new Ext.TabPanel({ renderTo: 'tabs1', width:450, activeTab: 0, ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var tabs = new Ext.TabPanel({ renderTo:'tabs', resizeTabs:true, // turn on tab resizing minTabWidth: 115, tabWidth:135, ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ FeedWindow = function() { this.feedUrl = new Ext.form.ComboBox({ id: 'feed-url', fieldLabel: 'Enter the URL of the feed to add', emptyText: 'http://examp...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ MainPanel = function(){ this.preview = new Ext.Panel({ id: 'preview', region: 'south', cls:'preview', autoScroll: true, listeners: Feed...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ FeedPanel = function() { FeedPanel.superclass.constructor.call(this, { id:'feed-tree', region:'west', title:'Feeds', split:true, width:...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ FeedViewer = {}; Ext.onReady(function(){ Ext.QuickTips.init(); Ext.state.Manager.setProvider(new Ext.state.SessionProvider({state: Ext.appState})); var tpl = Ext.T...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ FeedGrid = function(viewer, config) { this.viewer = viewer; Ext.apply(this, config); this.store = new Ext.data.Store({ proxy: new Ext.data.HttpProxy({ ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ var Forum = {}; ////////////////////////////////////////////////////////////////////////////////////////////// // The data store for topics Forum.TopicStore = function(){ Forum.Top...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ var TreeTest = function(){ // shorthand var Tree = Ext.tree; return { init : function(){ // yui-ext tree var tree = new Tree.Tree...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ // shorthand var Tree = Ext.tree; var tree = new Tree.TreePanel({ el:'tree-div', useArrows:true, autoScroll:true,...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.tree.ColumnTree = Ext.extend(Ext.tree.TreePanel, { lines:false, borderWidth: Ext.isBorderBox ? 0 : 2, // the combined left/right border for each cell cls:'x-column-tr...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var tree = new Ext.tree.ColumnTree({ el:'tree-ct', width:552, autoHeight:true, rootVisible:false, autoScroll:tr...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ SamplePanel = Ext.extend(Ext.Panel, { autoHeight: true, frame:true, collapsible: true, cls:'demos', afterRender : function(){ SamplePanel.superclass....
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ var ResizableExample = { init : function(){ var basic = new Ext.Resizable('basic', { width: 200, height: 100, ...
JavaScript
<?xml version="1.0" encoding="utf-8"?> <project path="" name="Ext Examples" author="Ext JS, LLC" version="2.0.2" copyright="Ext JS Library $version&#xD;&#xA;Copyright(c) 2006-2008, $author.&#xD;&#xA;licensing@extjs.com&#xD;&#xA;&#xD;&#xA;http://extjs.com/license" output="C:\apps\www\deploy\ext-2.0.2\examples" source=...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ // The action var action = new Ext.Action({ text: 'Action 1', handler: function(){ Ext.example.msg('Click','You clicked on "A...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.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 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // Copyright 2007 Google Inc. All Rights Reserved. // // Sets up google.gears.*, which is *the only* supported way to access Gears. // // Circumvent this file at your own risk! // ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // Asbtract base class for SqlDB classes Ext.data.SqlDB = function(config){ Ext.apply(this, config); Ext.data.SqlDB.superclass.constructor.call(this); this.addEvents({ ope...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.data.AirDB = Ext.extend(Ext.data.SqlDB, { open : function(db, cb, scope){ this.conn = new air.SQLConnection(); var file = air.File.applicationResourceDirectory.resolve(db...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.data.GearsDB = Ext.extend(Ext.data.SqlDB, { // abstract methods open : function(db, cb, scope){ this.conn = google.gears.factory.create('beta.database', '1.0'); ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.BLANK_IMAGE_URL = 'images/s.gif'; Task = Ext.data.Record.create([ {name: 'taskId', type:'string'}, {name: 'title', type:'string'}, {name: 'category', type:'str...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); var xg = Ext.grid; // turn off default shadows which look funky in air xg.GridEditor.prototype.shadow = false; ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // Album toolbar var newIndex = 3; var tb = new Ext.Toolbar({ items:[{ text: 'New Album', ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var data = { name: 'Jack Slocum', company: 'Ext JS, LLC', address: '4 Red Bulls Drive', city: 'Cleveland', st...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.Spotlight = function(config){ Ext.apply(this.config); } Ext.Spotlight.prototype = { active : false, animate : true, animated : false, duration: .25, ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.app.Module = function(config){ Ext.apply(this, config); Ext.app.Module.superclass.constructor.call(this); this.init(); } Ext.extend(Ext.app.Module, Ext.util.Obser...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.ux.StartMenu * @extends Ext.menu.Menu * A start menu object. * @constructor * Creates a new StartMenu * @param {Object} config Configuration options * *...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.Desktop = function(app){ this.taskbar = new Ext.ux.TaskBar(app); var taskbar = this.taskbar; var desktopEl = Ext.get('x-desktop'); var taskbarEl = Ext.get('ux-taskbar'...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.app.App = function(cfg){ Ext.apply(this, cfg); this.addEvents({ 'ready' : true, 'beforeunload' : true }); Ext.onReady(this.initApp, this); }...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.ux.TaskBar * @extends Ext.util.Observable */ Ext.ux.TaskBar = function(app){ this.app = app; this.init(); } Ext.extend(Ext.ux.TaskBar, Ext.util.Obs...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // Sample desktop configuration MyDesktop = new Ext.app.App({ init :function(){ Ext.QuickTips.init(); }, getModules : function(){ return [ new MyDesktop.GridWindow(...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.state.SessionProvider = Ext.extend(Ext.state.CookieProvider, { readCookies : function(){ if(this.state){ for(var k in this.state){ if(typ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.CallBroker = function(config){ if(!config.reader){ this.reader = new Ext.data.JsonReader({}, [ 'id', 'type', 'call', 'args' ]); } Ext.C...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); var xg = Ext.grid; var reader = new Ext.data.JsonReader({ idProperty:'taskId', root:'data', ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); function formatDate(value){ return value ? value.dateFormat('M d, Y') : ''; }; // shorthand alias var f...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.grid.RowExpander = function(config){ Ext.apply(this, config); this.addEvents({ beforeexpand : true, expand: true, beforecollapse: true, ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var propsGrid = new Ext.grid.PropertyGrid({ el:'props-grid', nameText: 'Properties Grid', width:300, autoHeight:true, ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // setup an App namespace // This is done to prevent collisions in the global namespace Ext.ns('App'); /** * App.BookStore * @extends Ext.data.Store * @cfg {String} url This will be...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); var xg = Ext.grid; // shared reader var reader = new Ext.data.ArrayReader({}, [ {name: 'company'}, ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ // create the Data Store var store = new Ext.data.Store({ // load using HTTP url: 'sheldon.xml', // the return will be X...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); var xg = Ext.grid; // shared reader var reader = new Ext.data.ArrayReader({}, [ {name: 'company'}, ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); var myData = [ ['3m Co',71.72,0.02,0.03,'9/1 12:00am'], ['Alcoa In...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); var xg = Ext.grid; var reader = new Ext.data.JsonReader({ idProperty:'taskId', fields: [ ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.grid.GroupSummary = function(config){ Ext.apply(this, config); }; Ext.extend(Ext.grid.GroupSummary, Ext.util.Observable, { init : function(grid){ this.grid = ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ // create the Data Store var store = new Ext.data.Store({ // load using script tags for cross domain, if the data in on the same domain as ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function() { var btn = Ext.get("create-grid"); btn.on("click", function(){ btn.dom.disabled = true; // create the grid var grid = new Ext.grid.TableGrid("th...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ // create the Data Store var store = new Ext.data.Store({ // load using HTTP url: 'sheldon.xml', // the return will be XML, so...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // turn on validation errors beside the field globally Ext.form.Field.prototype.msgTarget = 'side'; var bd = Ext.getBody...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /* * */ Ext.onReady(function() { var win = new Ext.Window({ title:'Slider Test Form', collapsible:true, closable:false, width:400, height:300, layout:'fit', items:{ ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // vim: fdc=4:nu:ts=4:sw=4:nospell /** * @class Ext.form.SliderField * @extends Ext.form.Field * Slider form field. * @constructor * Creates a new SliderField * @param {Obj...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.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...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ SampleGrid = function(limitColumns){ function italic(value){ return '<i>' + value + '</i>'; } function change(val){ if(val > 0){ return...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.ux.Portlet = Ext.extend(Ext.Panel, { anchor: '100%', frame:true, collapsible:true, draggable:true, cls:'x-portlet' }); Ext.reg('portlet', Ext.ux.Portlet);
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); // create some portlet tools using built in Ext tool ids var tools = [{ ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.ux.PortalColumn = Ext.extend(Ext.Container, { layout: 'anchor', autoEl: 'div', defaultType: 'portlet', cls:'x-portal-column' }); Ext.reg('portalcolumn', Ext.ux...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.ux.Portal = Ext.extend(Ext.Panel, { layout: 'column', autoScroll:true, cls:'x-portal', defaultType: 'portalcolumn', initComponent : function(){ E...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // turn on validation errors beside the field globally Ext.form.Field.prototype.msgTarget = 'side'; var bd = Ext.get...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // some data used in the examples Ext.namespace('Ext.exampledata'); Ext.exampledata.dutch_provinces = [ ['Drenthe'], ['Flevoland'], ['Friesland'], ['Gelderland'], ['Groningen'], ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /* Fix for Opera, which does not seem to include the map function on Array's */ if(!Array.prototype.map){ Array.prototype.map = function(fun){ var len = this.length; if(typeof fun...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); Ext.form.Field.prototype.msgTarget = 'side'; /* Language chooser combobox */ var store = new Ext.data.SimpleStore({ ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ var xt = Ext.tree; // seeds for the new node suffix var cseed = 0, oseed = 0; // turn on quick tips Ext.QuickTips.init(); var c...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // Create and append to the body, a Panel containing a block of code from the passed URL function createCodePanel(url, title) { var panel = new Ext.Panel({ hideMode: 'visibility',...
JavaScript
<?xml version="1.0" encoding="utf-8"?> <project path="" name="Ext - Resources" author="Ext JS, LLC" version="2.0.2" copyright="Ext JS Library $version&#xD;&#xA;Copyright(c) 2006-2008, $author.&#xD;&#xA;licensing@extjs.com&#xD;&#xA;&#xD;&#xA;http://extjs.com/license" output="C:\apps\www\deploy\ext-2.0.2\resources" sou...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.ArrayReader * @extends Ext.data.JsonReader * Data reader class to create an Array of Ext.data.Record objects from an Array. * Each element of that Array re...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.SortTypes * @singleton * Defines the default sorting (casting?) comparison functions used when sorting data. */ Ext.data.SortTypes = { /** * ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.JsonReader * @extends Ext.data.DataReader * Data reader class to create an Array of Ext.data.Record objects from a JSON response * based on mappings in a p...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.HttpProxy * @extends Ext.data.DataProxy * An implementation of {@link Ext.data.DataProxy} that reads a data object from a {@link Ext.data.Connection Connecti...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.XmlReader * @extends Ext.data.DataReader * Data reader class to create an Array of {@link Ext.data.Record} objects from an XML document * based on mappings...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.Store * @extends Ext.util.Observable * The Store class encapsulates a client side cache of {@link Ext.data.Record Record} * objects which provide input dat...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // private // Field objects are not intended to be created directly, but are created // behind the scenes when defined for Record objects. See Record.js for details. Ext.data.Field ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.MemoryProxy * @extends Ext.data.DataProxy * An implementation of Ext.data.DataProxy that simply passes the data specified in its constructor * to the Reade...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.JsonStore * @extends Ext.data.Store * Small helper class to make creating Stores for JSON data easier. <br/> <pre><code> var store = new Ext.data.JsonStore...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.Tree * @extends Ext.util.Observable * Represents a tree data structure and bubbles all the events for its nodes. The nodes * in the tree have most standard...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.Connection * @extends Ext.util.Observable * The class encapsulates a connection to the page's originating domain, allowing requests to be made * either to ...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.DataProxy * @extends Ext.util.Observable * This class is an abstract base class for implementations which provide retrieval of * unformatted data objects.<...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.GroupingStore * @extends Ext.data.Store * A specialized store implementation that provides for grouping records by one of the available fields. * @construc...
JavaScript
/* * Ext JS Library 2.0.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.data.ScriptTagProxy * @extends Ext.data.DataProxy * An implementation of Ext.data.DataProxy that reads a data object from a URL which may be in a domain * other...
JavaScript