PageRenderTime 28ms CodeModel.GetById 21ms app.highlight 6ms RepoModel.GetById 0ms app.codeStats 0ms

/ext-4.1.0_b3/examples/view/multisort/multisort.js

https://bitbucket.org/srogerf/javascript
JavaScript | 18 lines | 16 code | 2 blank | 0 comment | 0 complexity | f8a17ba06b02239309f2912bcc41f621 MD5 | raw file
 1Ext.Loader.setConfig({ enabled: true});
 2Ext.Loader.setPath('Ext.multisort', '.');
 3Ext.Loader.setPath('Ext.ux', '../../ux/');
 4
 5Ext.require([
 6    'Ext.data.Store',
 7    'Ext.data.proxy.Ajax',
 8    'Ext.multisort.Panel',
 9    'Ext.multisort.SortButton',
10    'Ext.ux.BoxReorderer',
11    'Ext.ux.DataView.Animated'
12]);
13
14Ext.onReady(function() {
15    Ext.create('Ext.multisort.Panel', {
16        renderTo: Ext.getBody()
17    });
18});