code
stringlengths
1
2.08M
language
stringclasses
1 value
describe("Ext.util.Format", function() { var num = Ext.util.Format.number, usMoney = Ext.util.Format.usMoney, currency = Ext.util.Format.currency, savedFormatLocale = { thousandSeparator: Ext.util.Format.thousandSeparator, decimalSeparator: Ext.util.Format.decimalSepa...
JavaScript
/** * @class Ext.Ajax * @singleton * @markdown * @extends Ext.data.Connection A singleton instance of an {@link Ext.data.Connection}. This class is used to communicate with your server side code. It can be used as follows: Ext.Ajax.request({ url: 'page.php', params: { id: 1 ...
JavaScript
/** * @class Ext.Img * @extends Ext.Component * * Simple helper class for easily creating image components. This simply renders an image tag to the DOM * with the configured src. * * {@img Ext.Img/Ext.Img.png Ext.Img component} * * ## Example usage: * * var changingImage = Ext.create('Ext.Img', { * ...
JavaScript
/** * @class Ext.ShadowPool * @extends Object * Private utility class that manages the internal Shadow cache * @private */ Ext.define('Ext.ShadowPool', { singleton: true, requires: ['Ext.core.DomHelper'], markup: function() { if (Ext.supports.CSS3BoxShadow) { return '<div class="' ...
JavaScript
/** * @class Ext.tree.Column * @extends Ext.grid.column.Column * * Provides indentation and folder structure markup for a Tree taking into account * depth and position within the tree hierarchy. * * @private */ Ext.define('Ext.tree.Column', { extend: 'Ext.grid.column.Column', alias: 'widget.treecolumn...
JavaScript
/** * @class Ext.tree.View * @extends Ext.view.Table */ Ext.define('Ext.tree.View', { extend: 'Ext.view.Table', alias: 'widget.treeview', loadingCls: Ext.baseCSSPrefix + 'grid-tree-loading', expandedCls: Ext.baseCSSPrefix + 'grid-tree-node-expanded', expanderSelector: '.' + Ext.baseCSSPrefix + ...
JavaScript
/** * @class Ext.tree.ViewDDPlugin * @extends Ext.AbstractPlugin * <p>This plugin provides drag and/or drop functionality for a TreeView.</p> * <p>It creates a specialized instance of {@link Ext.dd.DragZone DragZone} which knows how to drag out of a {@link Ext.tree.View TreeView} * and loads the data object which ...
JavaScript
/** * @class Ext.tree.Panel * @extends Ext.panel.Table * * The TreePanel provides tree-structured UI representation of tree-structured data. * A TreePanel must be bound to a {@link Ext.data.TreeStore}. TreePanel's support * multiple columns through the {@link columns} configuration. * * Simple TreePanel usin...
JavaScript
Ext.define('Ext.tree.ViewDragZone', { extend: 'Ext.view.DragZone', isPreventDrag: function(e, record) { return (record.get('allowDrag') === false) || !!e.getTarget(this.view.expanderSelector); }, afterRepair: function() { var me = this, view = me.view, selec...
JavaScript
/** * @class Ext.tree.ViewDropZone * @extends Ext.view.DropZone * @private */ Ext.define('Ext.tree.ViewDropZone', { extend: 'Ext.view.DropZone', /** * @cfg {Boolean} allowParentInsert * Allow inserting a dragged node between an expanded parent node and its first child that will become a * si...
JavaScript
/** * @class Ext.ElementLoader * A class used to load remote content to an Element. Sample usage: * <pre><code> Ext.get('el').load({ url: 'myPage.php', scripts: true, params: { id: 1 } }); * </code></pre> * <p> * In general this class will not be instanced directly, rather the {@link Ext.c...
JavaScript
/** * @class Ext.draw.engine.Svg * @extends Ext.draw.Surface * Provides specific methods to draw with SVG. */ Ext.define('Ext.draw.engine.Svg', { /* Begin Definitions */ extend: 'Ext.draw.Surface', requires: ['Ext.draw.Draw', 'Ext.draw.Sprite', 'Ext.draw.Matrix', 'Ext.core.Element'], /* End Defi...
JavaScript
/** * @class Ext.draw.engine.Vml * @extends Ext.draw.Surface * Provides specific methods to draw with VML. */ Ext.define('Ext.draw.engine.Vml', { /* Begin Definitions */ extend: 'Ext.draw.Surface', requires: ['Ext.draw.Draw', 'Ext.draw.Color', 'Ext.draw.Sprite', 'Ext.draw.Matrix', 'Ext.core.Element'...
JavaScript
/** * @class Ext.draw.Sprite * @extends Object * * A Sprite is an object rendered in a Drawing surface. There are different options and types of sprites. * The configuration of a Sprite is an object with the following properties: * * - **type** - (String) The type of the sprite. Possible options are 'circle', 'p...
JavaScript
/** * @class Ext.draw.Surface * @extends Object * * A Surface is an interface to render methods inside a draw {@link Ext.draw.Component}. * A Surface contains methods to render sprites, get bounding boxes of sprites, add * sprites to the canvas, initialize other graphic components, etc. One of the most used * me...
JavaScript
/* * @class Ext.draw.Matrix * @private */ Ext.define('Ext.draw.Matrix', { /* Begin Definitions */ requires: ['Ext.draw.Draw'], /* End Definitions */ constructor: function(a, b, c, d, e, f) { if (a != null) { this.matrix = [[a, c, e], [b, d, f], [0, 0, 1]]; } el...
JavaScript
/** * @class Ext.draw.CompositeSprite * @extends Ext.util.MixedCollection * * A composite Sprite handles a group of sprites with common methods to a sprite * such as `hide`, `show`, `setAttributes`. These methods are applied to the set of sprites * added to the group. * * CompositeSprite extends {@link Ext.util...
JavaScript
// private - DD implementation for Panels Ext.define('Ext.draw.SpriteDD', { extend: 'Ext.dd.DragSource', constructor : function(sprite, cfg){ var me = this, el = sprite.el; me.sprite = sprite; me.el = el; me.dragData = {el: el, sprite: sprite}; me.callParent(...
JavaScript
/** * @class Ext.draw.Component * @extends Ext.Component * * The Draw Component is a surface in which sprites can be rendered. The Draw Component * manages and holds a `Surface` instance: an interface that has * an SVG or VML implementation depending on the browser capabilities and where * Sprites can be appende...
JavaScript
/** * @class Ext.draw.Color * @extends Object * * Represents an RGB color and provides helper functions get * color components in HSL color space. */ Ext.define('Ext.draw.Color', { /* Begin Definitions */ /* End Definitions */ colorToHexRe: /(.*?)rgb\((\d+),\s*(\d+),\s*(\d+)\)/, rgbRe: /\s*rgb\...
JavaScript
/* * @class Ext.draw.Draw * Base Drawing class. Provides base drawing functions. */ Ext.define('Ext.draw.Draw', { /* Begin Definitions */ singleton: true, requires: ['Ext.draw.Color'], /* End Definitions */ pathToStringRE: /,?([achlmqrstvxz]),?/gi, pathCommandRE: /([achlmqstvz])[\s,]*((...
JavaScript
/** * @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 and sub-templates</li> * <li>Conditional processing with basic comparison operators</li> * <li>Basic math function support</l...
JavaScript
/** * @class Ext.AbstractManager * @extends Object * @ignore * Base Manager class */ Ext.define('Ext.AbstractManager', { /* Begin Definitions */ requires: ['Ext.util.HashMap'], /* End Definitions */ typeName: 'type', constructor: function(config) { Ext.apply(this, config || {}); ...
JavaScript
/** * @class Ext.form.Labelable A mixin which allows a component to be configured and decorated with a label and/or error message as is common for form fields. This is used by e.g. {@link Ext.form.field.Base} and {@link Ext.form.FieldContainer} to let them be managed by the Field layout. **NOTE**: This mixin is main...
JavaScript
/** * @class Ext.form.FieldContainer * @extends Ext.container.Container FieldContainer is a derivation of {@link Ext.container.Container Container} that implements the {@link Ext.form.Labelable Labelable} mixin. This allows it to be configured so that it is rendered with a {@link #fieldLabel field label} and optiona...
JavaScript
/** * @class Ext.form.field.TextArea * @extends Ext.form.field.Text This class creates a multiline text field, which can be used as a direct replacement for traditional textarea fields. In addition, it supports automatically {@link #grow growing} the height of the textarea to fit its content. All of the configura...
JavaScript
/** * @class Ext.form.field.Time * @extends Ext.form.field.Picker * <p>Provides a time input field with a time dropdown and automatic time validation.</p> * <p>This field recognizes and uses JavaScript Date objects as its main {@link #value} type (only the time * portion of the date is used; the month/day/year are...
JavaScript
/** * @class Ext.form.field.Hidden * @extends Ext.form.field.Base * <p>A basic hidden field for storing hidden values in forms that need to be passed in the form submit.</p> * <p>This creates an actual input element with type="submit" in the DOM. While its label is * {@link #hideLabel not rendered} by default, it ...
JavaScript
/** * @class Ext.form.field.Radio * @extends Ext.form.field.Checkbox Single radio field. Similar to checkbox, but automatically handles making sure only one radio is checked at a time within a group of radios with the same name. __Labeling:__ In addition to the {@link Ext.form.Labelable standard field labeling opti...
JavaScript
/** * @class Ext.form.field.Field This mixin provides a common interface for the logical behavior and state of form fields, including: - Getter and setter methods for field values - Events and methods for tracking value and validity changes - Methods for triggering validation **NOTE**: When implementing custom fiel...
JavaScript
/** * @class Ext.form.field.Base * @extends Ext.Component Base class for form fields that provides default event handling, rendering, and other common functionality needed by all form field types. Utilizes the {@link Ext.form.field.Field} mixin for value handling and validation, and the {@link Ext.form.Labelable} mi...
JavaScript
/** * @class Ext.form.field.VTypes * <p>This is a singleton object which contains a set of commonly used field validation functions. * The validations provided are basic and intended to be easily customizable and extended.</p> * <p>To add custom VTypes specify the <code>{@link Ext.form.field.Text#vtype vtype}</code...
JavaScript
/** * @class Ext.form.field.File * @extends Ext.form.field.Text A file upload field which has custom styling and allows control over the button text and other features of {@link Ext.form.field.Text text fields} like {@link Ext.form.field.Text#emptyText empty text}. It uses a hidden file input element behind the scen...
JavaScript
/** * @class Ext.form.field.Number * @extends Ext.form.field.Spinner A numeric text field that provides automatic keystroke filtering to disallow non-numeric characters, and numeric validation to limit the value to a range of valid numbers. The range of acceptable number values can be controlled by setting the {@lin...
JavaScript
/** * @class Ext.form.field.ComboBox * @extends Ext.form.field.Picker * * A combobox control with support for autocomplete, remote loading, and many other features. * * A ComboBox is like a combination of a traditional HTML text `&lt;input&gt;` field and a `&lt;select&gt;` * field; the user is able to type freel...
JavaScript
/** * @class Ext.form.field.Picker * @extends Ext.form.field.Trigger * <p>An abstract class for fields that have a single trigger which opens a "picker" popup below * the field, e.g. a combobox menu list or a date picker. It provides a base implementation for * toggling the picker's visibility when the trigger is ...
JavaScript
/** * @class Ext.form.field.HtmlEditor * @extends Ext.Component * * Provides a lightweight HTML Editor component. Some toolbar features are not supported by Safari and will be * automatically hidden when needed. These are noted in the config options where appropriate. * * The editor's toolbar buttons have toolt...
JavaScript
/** * @class Ext.form.field.Text * @extends Ext.form.field.Base A basic text field. Can be used as a direct replacement for traditional text inputs, or as the base class for more sophisticated input controls (like {@link Ext.form.field.TextArea} and {@link Ext.form.field.ComboBox}). Has support for empty-field pla...
JavaScript
/** * @class Ext.form.field.Date * @extends Ext.form.field.Picker Provides a date input field with a {@link Ext.picker.Date date picker} dropdown and automatic date validation. This field recognizes and uses the JavaScript Date object as its main {@link #value} type. In addition, it recognizes string values which a...
JavaScript
/** * @class Ext.form.field.Display * @extends Ext.form.field.Base * <p>A display-only text field which is not validated and not submitted. This is useful for when you want * to display a value from a form's {@link Ext.form.Basic#load loaded data} but do not want to allow the * user to edit or submit that value. T...
JavaScript
/** * @class Ext.form.field.Trigger * @extends Ext.form.field.Text * <p>Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default). * The trigger has no default action, so you must assign a function to implement the trigger click handler by * overriding {@l...
JavaScript
/** * @class Ext.form.field.Spinner * @extends Ext.form.field.Trigger * <p>A field with a pair of up/down spinner buttons. This class is not normally instantiated directly, * instead it is subclassed and the {@link #onSpinUp} and {@link #onSpinDown} methods are implemented * to handle when the buttons are clicked....
JavaScript
/** * @class Ext.form.field.Checkbox * @extends Ext.form.field.Base Single checkbox field. Can be used as a direct replacement for traditional checkbox fields. Also serves as a parent class for {@link Ext.form.field.Radio radio buttons}. __Labeling:__ In addition to the {@link Ext.form.Labelable standard field labe...
JavaScript
/** * @class Ext.form.CheckboxGroup * @extends Ext.form.FieldContainer * <p>A {@link Ext.form.FieldContainer field container} which has a specialized layout for arranging * {@link Ext.form.field.Checkbox} controls into columns, and provides convenience {@link Ext.form.field.Field} methods * for {@link #getValue ge...
JavaScript
/** * @private * Private utility class for managing all {@link Ext.form.field.Radio} fields grouped by name. */ Ext.define('Ext.form.RadioManager', { extend: 'Ext.util.MixedCollection', singleton: true, getByName: function(name) { return this.filterBy(function(item) { return item.nam...
JavaScript
/** * @class Ext.form.RadioGroup * @extends Ext.form.CheckboxGroup * <p>A {@link Ext.form.FieldContainer field container} which has a specialized layout for arranging * {@link Ext.form.field.Radio} controls into columns, and provides convenience {@link Ext.form.field.Field} methods * for {@link #getValue getting},...
JavaScript
/** * @class Ext.form.FieldSet * @extends Ext.container.Container * * A container for grouping sets of fields, rendered as a HTML `fieldset` element. The {@link #title} * config will be rendered as the fieldset's `legend`. * * While FieldSets commonly contain simple groups of fields, they are general {@link Ex...
JavaScript
/** * @class Ext.form.Basic * @extends Ext.util.Observable Provides input field management, validation, submission, and form loading services for the collection of {@link Ext.form.field.Field Field} instances within a {@link Ext.container.Container}. It is recommended that you use a {@link Ext.form.Panel} as the for...
JavaScript
/** * @private * Private utility class for managing all {@link Ext.form.field.Checkbox} fields grouped by name. */ Ext.define('Ext.form.CheckboxManager', { extend: 'Ext.util.MixedCollection', singleton: true, getByName: function(name) { return this.filterBy(function(item) { return it...
JavaScript
/** * @class Ext.form.Label * @extends Ext.Component Produces a standalone `<label />` element which can be inserted into a form and be associated with a field in that form using the {@link #forId} property. **NOTE:** in most cases it will be more appropriate to use the {@link Ext.form.Labelable#fieldLabel fieldLab...
JavaScript
/** * @class Ext.form.action.Load * @extends Ext.form.action.Action * <p>A class which handles loading of data from a server into the Fields of an {@link Ext.form.Basic}.</p> * <p>Instances of this class are only created by a {@link Ext.form.Basic Form} when * {@link Ext.form.Basic#load load}ing.</p> * <p><u><b>R...
JavaScript
/** * @class Ext.form.action.StandardSubmit * @extends Ext.form.action.Submit * <p>A class which handles submission of data from {@link Ext.form.Basic Form}s using a standard * <tt>&lt;form&gt;</tt> element submit. It does not handle the response from the submit.</p> * <p>If validation of the form fields fails, th...
JavaScript
/** * @class Ext.form.action.Action * @extends Ext.Base * <p>The subclasses of this class provide actions to perform upon {@link Ext.form.Basic Form}s.</p> * <p>Instances of this class are only created by a {@link Ext.form.Basic Form} when * the Form needs to perform an action such as submit or load. The Configura...
JavaScript
/** * @class Ext.form.action.DirectLoad * @extends Ext.form.action.Load * <p>Provides {@link Ext.direct.Manager} support for loading form data.</p> * <p>This example illustrates usage of Ext.direct.Direct to <b>load</b> a form through Ext.Direct.</p> * <pre><code> var myFormPanel = new Ext.form.Panel({ // conf...
JavaScript
/** * @class Ext.form.action.DirectSubmit * @extends Ext.form.action.Submit * <p>Provides Ext.direct support for submitting form data.</p> * <p>This example illustrates usage of Ext.direct.Direct to <b>submit</b> a form through Ext.Direct.</p> * <pre><code> var myFormPanel = new Ext.form.Panel({ // configs for...
JavaScript
/** * @class Ext.form.action.Submit * @extends Ext.form.action.Action * <p>A class which handles submission of data from {@link Ext.form.Basic Form}s * and processes the returned response.</p> * <p>Instances of this class are only created by a {@link Ext.form.Basic Form} when * {@link Ext.form.Basic#submit submit...
JavaScript
/** * @class Ext.form.Panel * @extends Ext.panel.Panel FormPanel provides a standard container for forms. It is essentially a standard {@link Ext.panel.Panel} which automatically creates a {@link Ext.form.Basic BasicForm} for managing any {@link Ext.form.field.Field} objects that are added as descendants of the pane...
JavaScript
/** * @class Ext.form.FieldAncestor A mixin for {@link Ext.container.Container} components that are likely to have form fields in their items subtree. Adds the following capabilities: - Methods for handling the addition and removal of {@link Ext.form.Labelable} and {@link Ext.form.field.Field} instances at any dep...
JavaScript
/** * @class Ext.grid.ColumnLayout * @extends Ext.layout.container.HBox * @private * * <p>This class is used only by the grid's HeaderContainer docked child.</p> * * <p>This class adds the ability to shrink the vertical size of the inner container element back if a grouped * column header has all its child colu...
JavaScript
/** * @class Ext.grid.Lockable * @private * * Lockable is a private mixin which injects lockable behavior into any * TablePanel subclass such as GridPanel or TreePanel. TablePanel will * automatically inject the Ext.grid.Lockable mixin in when one of the * these conditions are met: * - The TablePanel has the lo...
JavaScript
/** * @class Ext.grid.Scroller * @extends Ext.Component * * Docked in an Ext.grid.Panel, controls virtualized scrolling and synchronization * across different sections. * * @private */ Ext.define('Ext.grid.Scroller', { extend: 'Ext.Component', alias: 'widget.gridscroller', weight: 110, cls: Ext....
JavaScript
// Currently has the following issues: // - Does not handle postEditValue // - Fields without editors need to sync with their values in Store // - starting to edit another record while already editing and dirty should probably prevent it // - aggregating validation messages // - tabIndex is not managed bc we leave elem...
JavaScript
/** * @class Ext.grid.property.Store * @extends Ext.data.Store * A custom {@link Ext.data.Store} for the {@link Ext.grid.property.Grid}. This class handles the mapping * between the custom data source objects supported by the grid and the {@link Ext.grid.property.Property} format * used by the {@link Ext.data.Stor...
JavaScript
/** * @class Ext.grid.property.HeaderContainer * @extends Ext.grid.header.Container * A custom HeaderContainer for the {@link Ext.grid.property.Grid}. Generally it should not need to be used directly. * @constructor * @param {Ext.grid.property.Grid} grid The grid this store will be bound to * @param {Object} sou...
JavaScript
/** * @class Ext.grid.property.Grid * @extends Ext.grid.Panel * A specialized grid implementation intended to mimic the traditional property grid as typically seen in * development IDEs. Each row in the grid represents a property of some object, and the data is stored * as a set of name/value pairs in {@link Ext....
JavaScript
/** * @class Ext.grid.property.Property * A specific {@link Ext.data.Model} type that represents a name/value pair and is made to work with the * {@link Ext.grid.property.Grid}. Typically, Properties do not need to be created directly as they can be * created implicitly by simply using the appropriate data configs...
JavaScript
/** * @class Ext.grid.column.Boolean * @extends Ext.grid.column.Column * <p>A Column definition class which renders boolean data fields. See the {@link Ext.grid.column.Column#xtype xtype} * config option of {@link Ext.grid.column.Column} for more details.</p> * * {@img Ext.grid.column.Boolean/Ext.grid.column.Boo...
JavaScript
/** * @class Ext.grid.column.Column * @extends Ext.grid.header.Container * * This class specifies the definition for a column inside a {@link Ext.grid.Panel}. It encompasses * both the grid header configuration as well as displaying data within the grid itself. If the * {@link #columns} configuration is specifie...
JavaScript
/** * @class Ext.grid.column.Action * @extends Ext.grid.column.Column * <p>A Grid header type which renders an icon, or a series of icons in a grid cell, and offers a scoped click * handler for each icon.</p> * * {@img Ext.grid.column.Action/Ext.grid.column.Action.png Ext.grid.column.Action grid column} * * #...
JavaScript
/** * @class Ext.grid.column.Template * @extends Ext.grid.column.Column * * A Column definition class which renders a value by processing a {@link Ext.data.Model Model}'s * {@link Ext.data.Model#data data} using a {@link #tpl configured} {@link Ext.XTemplate XTemplate}. * * {@img Ext.grid.column.Template/Ext....
JavaScript
/** * @class Ext.grid.column.Number * @extends Ext.grid.column.Column * <p>A Column definition class which renders a numeric data field according to a {@link #format} string.</p> * * {@img Ext.grid.column.Number/Ext.grid.column.Number.png Ext.grid.column.Number cell editing} * * ## Code * Ext.create('Ext.da...
JavaScript
/** * @class Ext.grid.column.Date * @extends Ext.grid.column.Column * <p>A Column definition class which renders a passed date according to the default locale, or a configured * {@link #format}.</p> * * {@img Ext.grid.column.Date/Ext.grid.column.Date.png Ext.grid.column.Date grid column} * * ## Code * Ext.c...
JavaScript
/** * @class Ext.grid.RowNumberer * @extends Ext.grid.column.Column * This is a utility class that can be passed into a {@link Ext.grid.column.Column} as a column config that provides * an automatic row numbering column. * <br>Usage:<br><pre><code> columns: [ Ext.create('Ext.grid.RowNumberer'), {text: "Com...
JavaScript
/** * @class Ext.grid.View * @extends Ext.view.Table The grid View class provides extra {@link Ext.grid.Panel} specific functionality to the {@link Ext.view.Table}. In general, this class is not instanced directly, instead a viewConfig option is passed to the grid: Ext.create('Ext.grid.Panel', { // othe...
JavaScript
/** * @class Ext.grid.feature.RowBody * @extends Ext.grid.feature.Feature * * The rowbody feature enhances the grid's markup to have an additional * tr -> td -> div which spans the entire width of the original row. * * This is useful to to associate additional information with a particular * record in a grid. ...
JavaScript
/** * A small abstract class that contains the shared behaviour for any summary * calculations to be used in the grid. * @class Ext.grid.feature.AbstractSummary * @extends Ext.grid.feature.Feature * @ignore */ Ext.define('Ext.grid.feature.AbstractSummary', { /* Begin Definitions */ extend: 'Ext.g...
JavaScript
/** * @class Ext.grid.feature.GroupingSummary * @extends Ext.grid.feature.Grouping * * This feature adds an aggregate summary row at the bottom of each group that is provided * by the {@link Ext.grid.feature.Grouping} feature. There are 2 aspects to the summary: * * ## Calculation * * The summary value need...
JavaScript
/** * @class Ext.grid.feature.Feature * @extends Ext.util.Observable * * A feature is a type of plugin that is specific to the {@link Ext.grid.Panel}. It provides several * hooks that allows the developer to inject additional functionality at certain points throughout the * grid creation cycle. This class provi...
JavaScript
/** * @class Ext.grid.feature.Chunking * @extends Ext.grid.feature.Feature */ Ext.define('Ext.grid.feature.Chunking', { extend: 'Ext.grid.feature.Feature', alias: 'feature.chunking', chunkSize: 20, rowHeight: Ext.isIE ? 27 : 26, visibleChunk: 0, hasFeatureEvent: false, attachEvents: ...
JavaScript
/** * @class Ext.grid.feature.Summary * @extends Ext.grid.feature.AbstractSummary * * This feature is used to place a summary row at the bottom of the grid. If using a grouping, * see {@link Ext.grid.feature.GroupingSummary}. There are 2 aspects to calculating the summaries, * calculation and rendering. * *...
JavaScript
/** * @class Ext.grid.feature.RowWrap * @extends Ext.grid.feature.Feature * @private */ Ext.define('Ext.grid.feature.RowWrap', { extend: 'Ext.grid.feature.Feature', alias: 'feature.rowwrap', // turn off feature events. hasFeatureEvent: false, mutateMetaRowTpl: function(metaRowTpl) { ...
JavaScript
/** * @class Ext.grid.feature.Grouping * @extends Ext.grid.feature.Feature * * This feature allows to display the grid rows aggregated into groups as specified by the {@link Ext.data.Store#groupers} * specified on the Store. The group will show the title for the group name and then the appropriate records for the...
JavaScript
/** * @class Ext.grid.LockingView * This class is used internally to provide a single interface when using * a locking grid. Internally, the locking grid creates 2 separate grids, * so this class is used to map calls appropriately. * @ignore */ Ext.define('Ext.grid.LockingView', { mixins: { obser...
JavaScript
/** * @class Ext.grid.plugin.Editing This class provides an abstract grid editing plugin on selected {@link Ext.grid.column.Column columns}. The editable columns are specified by providing an {@link Ext.grid.column.Column#editor editor} in the {@link Ext.grid.column.Column column configuration}. *Note:* This class ...
JavaScript
/** * @class Ext.grid.plugin.HeaderReorderer * @extends Ext.util.Observable * @private */ Ext.define('Ext.grid.plugin.HeaderReorderer', { extend: 'Ext.util.Observable', requires: ['Ext.grid.header.DragZone', 'Ext.grid.header.DropZone'], alias: 'plugin.gridheaderreorderer', init: function(headerCt) ...
JavaScript
/** * @class Ext.grid.plugin.HeaderResizer * @extends Ext.util.Observable * * Plugin to add header resizing functionality to a HeaderContainer. * Always resizing header to the left of the splitter you are resizing. * * Todo: Consider RTL support, columns would always calculate to the right of * the splitte...
JavaScript
/** * @class Ext.grid.plugin.RowEditing * @extends Ext.grid.plugin.Editing * * The Ext.grid.plugin.RowEditing plugin injects editing at a row level for a Grid. When editing begins, * a small floating dialog will be shown for the appropriate row. Each editable column will show a field * for editing. There is a bu...
JavaScript
/** * @class Ext.grid.plugin.CellEditing * @extends Ext.grid.plugin.Editing * * The Ext.grid.plugin.CellEditing plugin injects editing at a cell level for a Grid. Only a single * cell will be editable at a time. The field that will be used for the editor is defined at the * {@link Ext.grid.column.Column#field fie...
JavaScript
/** * @class Ext.grid.plugin.DragDrop * <p>This plugin provides drag and/or drop functionality for a GridView.</p> * <p>It creates a specialized instance of {@link Ext.dd.DragZone DragZone} which knows how to drag out of a {@link Ext.grid.View GridView} * and loads the data object which is passed to a cooperating {...
JavaScript
/** * @class Ext.grid.PagingScroller * @extends Ext.grid.Scroller * * @private */ Ext.define('Ext.grid.PagingScroller', { extend: 'Ext.grid.Scroller', alias: 'widget.paginggridscroller', //renderTpl: null, //tpl: [ // '<tpl for="pages">', // '<div class="' + Ext.baseCSSPrefix + 's...
JavaScript
/** * @author Aaron Conran * @class Ext.grid.Panel * @extends Ext.panel.Table * * Grids are an excellent way of showing large amounts of tabular data on the client side. Essentially a supercharged * `<table>`, GridPanel makes it easy to fetch, sort and filter large amounts of data. * * Grids are composed of 2...
JavaScript
/** * @class Ext.grid.header.Container * @extends Ext.container.Container * @private * * Container which holds headers and is docked at the top or bottom of a TablePanel. * The HeaderContainer drives resizing/moving/hiding of columns within the TableView. * As headers are hidden, moved or resized the headerconta...
JavaScript
/** * @class Ext.grid.header.DropZone * @extends Ext.dd.DropZone * @private */ Ext.define('Ext.grid.header.DropZone', { extend: 'Ext.dd.DropZone', colHeaderCls: Ext.baseCSSPrefix + 'column-header', proxyOffsets: [-4, -9], constructor: function(headerCt){ this.headerCt = headerCt; th...
JavaScript
/** * @class Ext.grid.header.DragZone * @extends Ext.dd.DragZone * @private */ Ext.define('Ext.grid.header.DragZone', { extend: 'Ext.dd.DragZone', colHeaderCls: Ext.baseCSSPrefix + 'column-header', maxProxyWidth: 120, constructor: function(headerCt) { this.headerCt = headerCt; this....
JavaScript
/** * @class Ext.grid.CellEditor * @extends Ext.Editor * Internal utility class that provides default configuration for cell editing. * @ignore */ Ext.define('Ext.grid.CellEditor', { extend: 'Ext.Editor', constructor: function(config) { if (config.field) { config.field.monitorTab = fals...
JavaScript
Ext.define('Ext.grid.ViewDropZone', { extend: 'Ext.view.DropZone', indicatorHtml: '<div class="x-grid-drop-indicator-left"></div><div class="x-grid-drop-indicator-right"></div>', indicatorCls: 'x-grid-drop-indicator', handleNodeDrop : function(data, record, position) { var view = this.view, ...
JavaScript
/** * @class Ext.ComponentLoader * @extends Ext.ElementLoader * * This class is used to load content via Ajax into a {@link Ext.Component}. In general * this class will not be instanced directly, rather a loader configuration will be passed to the * constructor of the {@link Ext.Component}. * * ## HTML Rende...
JavaScript
/** * @class Ext.FocusManager The FocusManager is responsible for globally: 1. Managing component focus 2. Providing basic keyboard navigation 3. (optional) Provide a visual cue for focused components, in the form of a focus ring/frame. To activate the FocusManager, simply call {@link #enable `Ext.FocusManager.enab...
JavaScript
/** * @class Ext.picker.Time * @extends Ext.view.BoundList * <p>A time picker which provides a list of times from which to choose. This is used by the * {@link Ext.form.field.Time} class to allow browsing and selection of valid times, but could also be used * with other components.</p> * <p>By default, all times ...
JavaScript
/** * @private * @class Ext.picker.Month * @extends Ext.Component * <p>A month picker component. This class is used by the {@link Ext.picker.Date DatePicker} class * to allow browsing and selection of year/months combinations.</p> * @constructor * Create a new MonthPicker * @param {Object} config The config obj...
JavaScript