3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">Ext.ns('Ext.samples');
\r
10 Ext.samples.samplesCatalog = [{
\r
11 title: 'Combination Samples',
\r
13 text: 'Feed Viewer',
\r
14 url: 'feed-viewer/view.html',
\r
16 desc: 'RSS feed reader sample application that features a swappable reader panel layout.'
\r
18 text: 'Simple Tasks',
\r
19 url: 'http://extjs.com/blog/2008/02/24/tasks2/',
\r
21 desc: 'Complete personal task management application sample that runs on <a href="http://labs.adobe.com/technologies/air/" target="_blank">Adobe AIR</a>.'
\r
23 text: 'Simple Tasks',
\r
24 url: 'tasks/tasks.html',
\r
26 desc: 'Personal task management application sample that uses <a href="http://gears.google.com" target="_blank">Google Gears</a> for data storage.'
\r
28 text: 'Image Viewer',
\r
29 url: 'organizer/organizer.html',
\r
30 icon: 'organizer.gif',
\r
31 desc: 'DataView and TreePanel sample that demonstrates dragging data items from a DataView into a TreePanel.'
\r
33 text: 'Image Organizer',
\r
34 url: 'image-organizer/index.html',
\r
35 icon: 'image-organizer.gif',
\r
36 desc: 'Image management application sample utilizing MySQL lite and Ext.Direct.',
\r
39 text: 'Ext JS API Documentation',
\r
40 url: '../docs/index.html',
\r
42 desc: 'API Documentation application.',
\r
45 text: 'Ext JS Forum Browser',
\r
46 url: 'forum/forum.html',
\r
48 desc: 'Ext JS online forums browser application.',
\r
51 text: 'Web Desktop',
\r
52 url: 'desktop/desktop.html',
\r
53 icon: 'desktop.gif',
\r
54 desc: 'Demonstrates how one could build a desktop in the browser using Ext components including a module plugin system.'
\r
57 title: 'Accessibility',
\r
59 text: 'Key Feed Viewer',
\r
60 url: 'key-feed-viewer/view.html',
\r
61 icon: 'keyboard.gif',
\r
62 desc: 'Keyboard navigation within a complex layout',
\r
63 status: 'experimental'
\r
66 url: 'tree/aria-tree.html',
\r
67 icon: 'acc-tree.gif',
\r
68 desc: 'Demonstrating ARIA with a TreePanel',
\r
69 status: 'experimental'
\r
74 text: 'Basic Array Grid',
\r
75 url: 'grid/array-grid.html',
\r
76 icon: 'grid-array.gif',
\r
77 desc: 'A basic read-only grid loaded from local array data that demonstrates the use of custom column renderer functions.'
\r
79 text: 'Property Grid',
\r
80 url: 'grid/property-grid.html',
\r
81 icon: 'grid-property.gif',
\r
82 desc: 'An example of a traditional property grid as typically seen in development IDEs.'
\r
84 text: 'Editable Grid',
\r
85 url: 'grid/edit-grid.html',
\r
86 icon: 'grid-edit.gif',
\r
87 desc: 'An editable grid loaded from XML that shows multiple types of grid editors as well as defining custom data records.'
\r
89 text: 'Row Editor Grid',
\r
90 url: 'grid/row-editor.html',
\r
91 icon: 'grid-row-editor.gif',
\r
92 desc: 'An editable grid which allows the user to make modifications to an entire record at once. Also demonstrates the Ext.chart package. ',
\r
96 url: 'grid/xml-grid.html',
\r
97 icon: 'grid-xml.gif',
\r
98 desc: 'A simple read-only grid loaded from XML data.'
\r
101 url: 'grid/paging.html',
\r
102 icon: 'grid-paging.gif',
\r
103 desc: 'A grid with paging, cross-domain data loading and custom- rendered expandable row bodies.'
\r
105 text: 'Progress Bar Pager',
\r
106 url: 'grid/progress-bar-pager.html',
\r
107 icon: 'progress-bar-pager.gif',
\r
108 desc: 'An example of how to integrate the Progress Bar with the Paging Toolbar using a custom plugin.',
\r
111 text: 'Sliding Pager',
\r
112 url: 'grid/sliding-pager.html',
\r
113 icon: 'slider-pager.gif',
\r
114 desc: 'A demonstration on the integration of the Slider with the Paging Toolbar using a custom plugin.',
\r
118 url: 'grid/grouping.html',
\r
119 icon: 'grid-grouping.gif',
\r
120 desc: 'A basic grouping grid showing collapsible data groups that can be customized via the "Group By" header menu option.'
\r
122 text: 'Grouping with Dynamic Summary',
\r
123 url: 'grid/totals.html',
\r
124 icon: 'grid-summary.gif',
\r
125 desc: 'Advanced grouping grid that allows cell editing and includes custom dynamic summary calculations.',
\r
128 text: 'Grouping with Remote Summary',
\r
129 url: 'grid/totals-hybrid.html',
\r
130 icon: 'grid-summary.gif',
\r
131 desc: 'Advanced grouping grid that allows cell editing and includes remotely loaded dynamic summary calculations.'
\r
133 text: 'Grid Plugins',
\r
134 url: 'grid/grid-plugins.html',
\r
135 icon: 'grid-plugins.gif',
\r
136 desc: 'Multiple grids customized via plugins: expander rows, checkbox selection and row numbering.'
\r
138 text: 'Grid Filtering',
\r
139 url: 'grid-filtering/grid-filter.html',
\r
140 icon: 'grid-filter.gif',
\r
141 desc: 'Grid plugins providing custom data filtering menus that support various data types.'
\r
143 text: 'Grid From Markup',
\r
144 url: 'grid/from-markup.html',
\r
145 icon: 'grid-from-markup.gif',
\r
146 desc: 'Custom GridPanel extension that can convert a plain HTML table into a dynamic grid at runtime.'
\r
148 text: 'Grid Data Binding (basic)',
\r
149 url: 'grid/binding.html',
\r
150 icon: 'grid-data-binding.gif',
\r
151 desc: 'Data binding a grid to a detail preview panel via the grid\'s RowSelectionModel.'
\r
153 text: 'Grid Data Binding (advanced)',
\r
154 url: 'grid/binding-with-classes.html',
\r
155 icon: 'grid-data-binding.gif',
\r
156 desc: 'Refactoring the basic data binding example to use a class-based application design model.'
\r
158 text: 'Buffered GridView',
\r
159 url: 'grid/buffer.html',
\r
160 icon: 'grid-buffer.gif',
\r
161 desc: 'GridView optimized for performance by rendering only visible rows.',
\r
164 text: 'Editable Grid with Writable Store',
\r
165 url: 'writer/writer.html',
\r
166 icon: 'writer-thumb.gif',
\r
167 desc: 'This Store uses JsonWriter to automatically generate CRUD requests to the server through a standard HttpProxy.',
\r
170 text: 'RESTful Store with GridPanel and RowEditor',
\r
171 url: 'restful/restful.html',
\r
172 icon: 'restful-thumb.gif',
\r
173 desc: 'A RESTful Store with JsonWriter which automatically generates CRUD requests to the server.',
\r
179 text: 'Basic Tabs',
\r
180 url: 'tabs/tabs.html',
\r
182 desc: 'Basic tab functionality including autoHeight, tabs from markup, Ajax loading and tab events.'
\r
184 text: 'TabPanel Scroller Menu',
\r
185 url: 'tabs/tab-scroller-menu.html',
\r
186 icon: 'tab-panel-scroller-menu.gif',
\r
187 desc: 'An example of an overflow menu that appears to the right of the TabPanel tab strip',
\r
190 text: 'Advanced Tabs',
\r
191 url: 'tabs/tabs-adv.html',
\r
192 icon: 'tabs-adv.gif',
\r
193 desc: 'Advanced tab features including tab scrolling, adding tabs programmatically and a context menu plugin.'
\r
195 text: 'Group Tabs',
\r
196 url: 'grouptabs/grouptabs.html',
\r
197 icon: 'group-tabs.gif',
\r
198 desc: 'A custom example on how to setup tab grouping using vertical tabs.',
\r
205 url: 'chart/charts.html',
\r
206 icon: 'charts.gif',
\r
207 desc: 'A sampling of several chart styles',
\r
211 url: 'chart/pie-chart.html',
\r
212 icon: 'chart-pie.gif',
\r
213 desc: 'An example of a pie chart',
\r
216 text: 'Stacked Bar Chart',
\r
217 url: 'chart/stacked-bar-chart.html',
\r
218 icon: 'chart-stacked.gif',
\r
219 desc: 'An example of a stacked bar chart',
\r
222 text: 'Reloaded Chart',
\r
223 url: 'chart/reload-chart.html',
\r
224 icon: 'chart-reload.gif',
\r
225 desc: 'An example demonstrating chart data reloading',
\r
231 text: 'Hello World',
\r
232 url: 'window/hello.html',
\r
233 icon: 'window.gif',
\r
234 desc: 'Simple "Hello World" window that contains a basic TabPanel.'
\r
236 text: 'MessageBox',
\r
237 url: 'message-box/msg-box.html',
\r
238 icon: 'msg-box.gif',
\r
239 desc: 'Different styles include confirm, alert, prompt, progress and wait and also support custom icons.'
\r
241 text: 'Layout Window',
\r
242 url: 'window/layout.html',
\r
243 icon: 'window-layout.gif',
\r
244 desc: 'A window containing a basic BorderLayout with nested TabPanel.'
\r
249 text: 'Drag and Drop Reordering',
\r
250 url: 'tree/reorder.html',
\r
251 icon: 'tree-reorder.gif',
\r
252 desc: 'A TreePanel loaded asynchronously via a JSON TreeLoader that shows drag and drop with container scroll.'
\r
254 text: 'Multiple trees',
\r
255 url: 'tree/two-trees.html',
\r
256 icon: 'tree-two.gif',
\r
257 desc: 'Drag and drop between two different sorted TreePanels.'
\r
259 text: 'Column Tree',
\r
260 url: 'tree/column-tree.html',
\r
261 icon: 'tree-columns.gif',
\r
262 desc: 'A custom TreePanel implementation that demonstrates extending an existing component.'
\r
264 text: 'Check Tree',
\r
265 url: 'tree/check-tree.html',
\r
266 icon: 'tree-check.gif',
\r
267 desc: 'An example showing simple checkbox selection in a tree.',
\r
270 text: 'XML Tree Loader',
\r
271 url: 'tree/xml-tree-loader.html',
\r
272 icon: 'tree-xml-loader.gif',
\r
273 desc: 'A custom TreeLoader implementation that demonstrates loading a tree from an XML document.'
\r
276 title: 'Layout Managers',
\r
278 text: 'Layout Browser',
\r
279 url: 'layout-browser/layout-browser.html',
\r
280 icon: 'layout-browser.gif',
\r
281 desc: 'Comprehensive showcase of the standard layout managers as well as several custom and combination layouts and combination examples.',
\r
284 text: 'Border Layout',
\r
285 url: 'layout/complex.html',
\r
286 icon: 'border-layout.gif',
\r
287 desc: 'A complex BorderLayout implementation that shows nesting multiple components and sub-layouts.'
\r
289 text: 'Accordion Layout',
\r
290 url: 'layout/accordion.html',
\r
291 icon: 'layout-accordion.gif',
\r
292 desc: 'A basic accordion layout within a border layout.'
\r
294 text: 'Absolute Layout (Form)',
\r
295 url: 'form/absform.html',
\r
296 icon: 'layout-absolute.gif',
\r
297 desc: 'A simple example of form fields utilizing an absolute layout in a window for flexible form resizing.'
\r
299 text: 'Anchor Layout (Form)',
\r
300 url: 'form/anchoring.html',
\r
301 icon: 'layout-form.gif',
\r
302 desc: 'A simple example of form fields utilizing an anchor layout in a window for flexible form resizing.'
\r
304 text: 'Anchor Layout (Panel)',
\r
305 url: 'layout/anchor.html',
\r
306 icon: 'layout-anchor.gif',
\r
307 desc: 'An example of Panels anchored in the browser window.'
\r
309 text: 'Column Layout',
\r
310 url: 'layout/column.html',
\r
311 icon: 'layout-column.gif',
\r
312 desc: 'An example of Panels managed by a column layout.'
\r
314 text: 'Table Layout',
\r
315 url: 'layout/table.html',
\r
316 icon: 'layout-table.gif',
\r
317 desc: 'An example of Panels managed by a table layout.'
\r
319 text: 'HBox Layout',
\r
320 url: 'layout/hbox.html',
\r
321 icon: 'layout-column.gif',
\r
322 desc: 'Interactive layout illustrating the capabilities of the HBox Layout.',
\r
325 text: 'VBox Layout',
\r
326 url: 'layout/vbox.html',
\r
328 desc: 'Interactive layout illustrating the capabilities of the VBox Layout.',
\r
331 text: 'Portal Demo',
\r
332 url: 'portal/portal.html',
\r
333 icon: 'portal.gif',
\r
334 desc: 'A page layout using several custom extensions to provide a web portal interface.'
\r
339 text: 'Basic ComboBox',
\r
340 url: 'form/combos.html',
\r
342 desc: 'Basic combos, combos rendered from markup and customized list layout to provide item tooltips.'
\r
344 text: 'ComboBox Templates',
\r
345 url: 'form/forum-search.html',
\r
346 icon: 'combo-custom.gif',
\r
347 desc: 'Customized combo with template-based list rendering, remote loading and paging.'
\r
352 text: 'Dynamic Forms',
\r
353 url: 'form/dynamic.html',
\r
354 icon: 'form-dynamic.gif',
\r
355 desc: 'Various example forms showing collapsible fieldsets, column layout, nested TabPanels and more.'
\r
357 text: 'Ajax with XML Forms',
\r
358 url: 'form/xml-form.html',
\r
359 icon: 'form-xml.gif',
\r
360 desc: 'Ajax-loaded form fields from remote XML data and remote field validation on submit.'
\r
362 text: 'Custom Search Fields',
\r
363 url: 'form/custom.html',
\r
364 icon: 'form-custom.gif',
\r
365 desc: 'A TriggerField search extension combined with an XTemplate for custom results rendering.'
\r
367 text: 'Binding a Grid to a Form',
\r
368 url: 'form/form-grid.html',
\r
369 icon: 'form-grid-binding.gif',
\r
370 desc: 'A grid embedded within a FormPanel that automatically loads records into the form on row selection.'
\r
372 text: 'Advanced Validation',
\r
373 url: 'form/adv-vtypes.html',
\r
374 icon: 'form-adv-vtypes.gif',
\r
375 desc: 'Relational form field validation using custom vtypes.'
\r
377 text: 'Checkbox/Radio Groups',
\r
378 url: 'form/check-radio.html',
\r
379 icon: 'form-check-radio.gif',
\r
380 desc: 'Many examples showing different checkbox and radio group configurations.'
\r
382 text: 'File Upload Field',
\r
383 url: 'form/file-upload.html',
\r
384 icon: 'form-file-upload.gif',
\r
385 desc: 'A demo of how to give standard file upload fields a bit of Ext style using a custom class.'
\r
387 text: 'Spinner Field',
\r
388 url: 'spinner/spinner.html',
\r
389 icon: 'form-spinner.gif',
\r
390 desc: 'An example of a custom spinner widget.',
\r
393 text: 'MultiSelect and ItemSelector',
\r
394 url: 'multiselect/multiselect-demo.html',
\r
395 icon: 'form-multiselect.gif',
\r
396 desc: 'Example controls for selecting a list of items in forms.'
\r
399 title: 'Toolbars and Menus',
\r
401 text: 'Basic Toolbar',
\r
402 url: 'menu/menus.html',
\r
403 icon: 'toolbar.gif',
\r
404 desc: 'Toolbar and menus that contain various components like date pickers, color pickers, sub-menus and more.',
\r
407 text: 'Toolbar Overflow',
\r
408 url: 'toolbar/overflow.html',
\r
409 icon: 'toolbar-overflow.gif',
\r
410 desc: 'Dynamic overflow of toolbar buttons into an Ext.menu.',
\r
413 text: 'Toolbar Button Groups',
\r
414 url: 'toolbar/toolbars.html',
\r
415 icon: 'toolbar-button-groups.gif',
\r
416 desc: 'Group buttons together in the toolbar.',
\r
419 text: 'Ext Actions',
\r
420 url: 'menu/actions.html',
\r
421 icon: 'toolbar-actions.gif',
\r
422 desc: 'Bind the same behavior to multiple buttons, toolbar and menu items using the Ext.Action class.'
\r
424 text: 'Status Bar',
\r
425 url: 'statusbar/statusbar-demo.html',
\r
426 icon: 'statusbar-demo.gif',
\r
427 desc: 'A simple StatusBar that can be dropped into the bottom of any panel to display status text and icons.',
\r
430 text: 'Status Bar (Advanced)',
\r
431 url: 'statusbar/statusbar-advanced.html',
\r
432 icon: 'statusbar-adv.gif',
\r
433 desc: 'Customizing the StatusBar via a plugin to provide automatic form validation monitoring and error linking.',
\r
437 title: 'Templates and DataView',
\r
440 url: 'core/templates.html',
\r
441 icon: 'templates.gif',
\r
442 desc: 'A simple example of rendering views from templates bound to data objects.'
\r
445 url: 'view/data-view.html',
\r
446 icon: 'data-view.gif',
\r
447 desc: 'A basic DataView with custom plugins for editable labels and drag selection of items.'
\r
449 text: 'DataView (advanced)',
\r
450 url: 'view/chooser.html',
\r
451 icon: 'chooser.gif',
\r
452 desc: 'A more customized DataView supporting sorting and filtering with multiple templates.'
\r
455 url: 'view/list-view.html',
\r
456 icon: 'list-view.gif',
\r
457 desc: 'A high performance tabular DataView to be used as a lightweight grid.',
\r
461 title : 'Drag and Drop',
\r
463 text : 'Grid to Grid Drag and Drop',
\r
464 url : 'dd/dnd_grid_to_grid.html',
\r
465 icon : 'dd-gridtogrid.gif',
\r
466 desc : 'A simple drag and drop from grid to grid implementation.'
\r
468 text : 'Grid to FormPanel Drag and Drop',
\r
469 url : 'dd/dnd_grid_to_formpanel.html',
\r
470 icon : 'dd-gridtoformpanel.gif',
\r
471 desc : 'A basic drag and drop from grid to formpanel.'
\r
473 text : 'Field to Grid Drag and Drop',
\r
474 url : 'dd/field-to-grid-dd.html',
\r
475 icon : 'dd-fieldtogrid.gif',
\r
476 desc : 'Drag from a form field and drop on a grid.',
\r
479 text : 'Custom Drag and Drop',
\r
480 url : 'dd/dragdropzones.html',
\r
481 icon : 'dd-zones.gif',
\r
482 desc : 'Enabling drag and drop between a DataView and a grid using DragZone and DropZone extensions.'
\r
488 url: 'direct/direct.php',
\r
489 icon: 'direct.gif',
\r
490 desc: 'An example demonstrating Remoting and Polling the server',
\r
493 text: 'Direct Form',
\r
494 url: 'direct/direct-form.php',
\r
495 icon: 'direct.gif',
\r
496 desc: 'Ext.Direct Remoting with a Form',
\r
499 text: 'Direct TreeLoader',
\r
500 url: 'direct/direct-tree.php',
\r
501 icon: 'direct.gif',
\r
502 desc: 'Ext.Direct Remoting with a Tree',
\r
506 title: 'Miscellaneous',
\r
509 url: 'history/history.html',
\r
510 icon: 'history.gif',
\r
511 desc: 'A History manager that allows the user to navigate an Ext UI via browser back/forward.'
\r
513 text: 'Google Maps',
\r
514 url: 'window/gmap.html',
\r
515 icon: 'gmap-panel.gif',
\r
516 desc: 'A Google Maps wrapper class that enables easy display of dynamic maps in Ext panels and windows.'
\r
519 url: 'slider/slider.html',
\r
520 icon: 'slider.gif',
\r
521 desc: 'A slider component that supports vertical mode, snapping, tooltips, customized styles and more.'
\r
524 url: 'simple-widgets/qtips.html',
\r
526 desc: 'Various tooltip and quick tip configuration options including Ajax loading and mouse tracking.',
\r
529 text: 'Progress Bar',
\r
530 url: 'simple-widgets/progress-bar.html',
\r
531 icon: 'progress.gif',
\r
532 desc: 'A basic progress bar component shown in various configurations and with custom styles.'
\r
535 url: 'panel/panels.html',
\r
537 desc: 'A basic collapsible panel example.',
\r
540 text: 'Bubble Panel',
\r
541 url: 'panel/bubble-panel.html',
\r
542 icon: 'panel-bubble.gif',
\r
543 desc: 'An example illustrating customization of a standard panel.',
\r
547 url: 'resizable/basic.html',
\r
548 icon: 'resizable.gif',
\r
549 desc: 'Examples of making any element resizable with various configuration options.'
\r
552 url: 'core/spotlight.html',
\r
553 icon: 'spotlight.gif',
\r
554 desc: 'A utility for masking everything except a single element on the page to visually highlight it.',
\r
558 url: 'button/buttons.html',
\r
559 icon: 'buttons.gif',
\r
563 text: 'Debugging Console',
\r
564 url: 'debug/debug-console.html',
\r
565 icon: 'debug-console.gif',
\r
569 text: 'Localization (static)',
\r
570 url: 'locale/dutch-form.html',
\r
571 icon: 'locale-dutch.gif',
\r
572 desc: 'Demonstrates fully localizing a form by including a custom locale script.'
\r
574 text: 'Localization (dynamic)',
\r
575 url: 'locale/multi-lang.html',
\r
576 icon: 'locale-switch.gif',
\r
577 desc: 'Dynamically render various Ext components in different locales by selecting from a locale list.'
\r