/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

  1. Ext.Loader.setConfig({ enabled: true});
  2. Ext.Loader.setPath('Ext.multisort', '.');
  3. Ext.Loader.setPath('Ext.ux', '../../ux/');
  4. Ext.require([
  5. 'Ext.data.Store',
  6. 'Ext.data.proxy.Ajax',
  7. 'Ext.multisort.Panel',
  8. 'Ext.multisort.SortButton',
  9. 'Ext.ux.BoxReorderer',
  10. 'Ext.ux.DataView.Animated'
  11. ]);
  12. Ext.onReady(function() {
  13. Ext.create('Ext.multisort.Panel', {
  14. renderTo: Ext.getBody()
  15. });
  16. });