Examples.js 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Ext.define('KitchenSink.store.Examples', {
  2. extend: 'Ext.data.TreeStore',
  3. root: {
  4. expanded: true,
  5. children: [
  6. {
  7. text: 'Panels',
  8. expanded: true,
  9. children: [
  10. { leaf: true, text: 'Basic Panel' },
  11. { leaf: true, text: 'Framed Panel' }
  12. ]
  13. },
  14. {
  15. text: 'Grids',
  16. expanded: true,
  17. children: [
  18. { leaf: true, text: 'Basic Grid' },
  19. { leaf: true, text: 'Grouped Grid' },
  20. { leaf: true, text: 'Locked Grid' },
  21. { leaf: true, text: 'Grouped Header Grid' }
  22. ]
  23. },
  24. {
  25. text: 'Trees',
  26. expanded: true,
  27. children: [
  28. { leaf: true, text: 'Basic Tree' }
  29. ]
  30. },
  31. {
  32. text: 'Tabs',
  33. expanded: true,
  34. children: [
  35. { leaf: true, text: 'Basic Tabs' },
  36. { leaf: true, text: 'Framed Tabs' },
  37. { leaf: true, text: 'Icon Tabs' },
  38. { leaf: true, text: 'Titled Tab Panels' }
  39. ]
  40. },
  41. {
  42. text: 'Windows',
  43. expanded: true,
  44. children: [
  45. { leaf: true, text: 'Basic Window' }
  46. ]
  47. },
  48. {
  49. text: 'Forms',
  50. expanded: true,
  51. children: [
  52. { leaf: true, text: 'Login' },
  53. { leaf: true, text: 'Contact' },
  54. { leaf: true, text: 'Register' }
  55. ]
  56. },
  57. {
  58. text: 'Toolbars',
  59. expanded: true,
  60. children: [
  61. { leaf: true, text: 'Basic Toolbar' },
  62. { leaf: true, text: 'Docked Toolbar' }
  63. ]
  64. }
  65. ]
  66. }
  67. });