1. #1
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    504
    Vote Rating
    5
    MaximGB is on a distinguished road

      0  

    Default TreeGrid (Ext.ux.maximgb.treegrid) extension.

    TreeGrid (Ext.ux.maximgb.treegrid) extension.


    Hi.

    Just created the tree grid extension, the tree grid is based on the Ext.grid.GridPanel and Ext.data.Store, so the most grid/store options are in place. I've also added per node paging and some UI enhancements.
    The code is currently beta, so any feedback and/or bug reports are highly appreciated.

    Description, demo and download page is here at
    http://max-bazhenov.com/dev/ux.maxim...rid/index.html

    Since 24 october 2008 license changed from GPL v.3 to BSD
    Use the force - read the source.

  2. #2
    Sencha User
    Join Date
    Nov 2007
    Location
    London, UK
    Posts
    583
    Vote Rating
    -1
    mabello is an unknown quantity at this point

      0  

    Default


    Dear MaximGB,
    I don't have any chance to use the component right now, but looks really good and interesting!
    Thanks for sharing and keep up the good work!
    Marco

  3. #3
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    Excelent work!!

    The indent is very confused. (;

    Thanks in advance,

    What about this? http://s131.photobucket.com/albums/p...TreeGrid-1.flv

    in: http://www.extjs.com/forum/showthrea...t=33620&page=4

  4. #4
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    looking very good indeed.

    some suggestions:
    • a config option to expand a tree node by double clicking a grid cell would be good
    • it might also be good to use a different icon for the treegrid node expander to prevent confusion with the rowexpander icon.
    • a config for treegrid node expand/collapse animation would be cool

  5. #5
    Ext User
    Join Date
    Jan 2008
    Posts
    70
    Vote Rating
    0
    NeonMonk is on a distinguished road

      0  

    Default


    Really impressive work!

  6. #6

  7. #7
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    Amazing!!!!!!!

    In IE7 the tree structure (spacing) it view wrong.

    What is the XML structure that consume your treegrid?

    Thanks in advance,

  8. #8
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    504
    Vote Rating
    5
    MaximGB is on a distinguished road

      0  

    Default


    Quote Originally Posted by galdaka View Post
    Amazing!!!!!!!
    In IE7 the tree structure (spacing) it view wrong.
    Can you attach a screenshot? I've tested the treegrid under FF, IE7, Opera and everything was fine for me.
    Quote Originally Posted by galdaka View Post
    What is the XML structure that consume your treegrid?
    Thanks in advance,
    It can support nested set or adjacency list tree structure, you just have to set appropriate data store (see examples). For nested set every record should have _lft, _rgt, _level
    fields alongside with other - payload fields. For adjacency list - every record should have _parent field which contains parent node id. Thees fields names can be configured with the store's config.
    Use the force - read the source.

  9. #9
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    IE7 bug:
    Attached Images

  10. #10
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    504
    Vote Rating
    5
    MaximGB is on a distinguished road

      0  

    Default


    Can you check it again? Make sure to refresh page totaly, i've fixed some css.
    Use the force - read the source.

Thread Participants: 142

  1. galdaka (5 Posts)
  2. Condor (1 Post)
  3. Choleriker (2 Posts)
  4. bidyut (2 Posts)
  5. LorenzoW (2 Posts)
  6. Razhick (3 Posts)
  7. mystix (3 Posts)
  8. ap (1 Post)
  9. John Sourcer (8 Posts)
  10. pateati (2 Posts)
  11. AlxH (1 Post)
  12. temporary (5 Posts)
  13. Ytorres (2 Posts)
  14. hallikpapa (1 Post)
  15. Ronaldo (2 Posts)
  16. mjlecomte (8 Posts)
  17. eseguin3 (1 Post)
  18. smokeman (5 Posts)
  19. rekam (3 Posts)
  20. rednix (4 Posts)
  21. iamleppert (4 Posts)
  22. Andrewd2 (3 Posts)
  23. gdodinet (7 Posts)
  24. anthony-apd (5 Posts)
  25. derbbre (1 Post)
  26. wm003 (1 Post)
  27. pebbz (1 Post)
  28. mabello (1 Post)
  29. vendiddy (1 Post)
  30. sugen (1 Post)
  31. flyzb (4 Posts)
  32. nanich (2 Posts)
  33. vector (2 Posts)
  34. Rieglflo (1 Post)
  35. tonedeaf (3 Posts)
  36. robryals (2 Posts)
  37. brumby007 (1 Post)
  38. josh803316 (4 Posts)
  39. GokhanNL (1 Post)
  40. NeonMonk (1 Post)
  41. vizcano (8 Posts)
  42. lucasjedi (1 Post)
  43. jenner (1 Post)
  44. w3bbuilder (1 Post)
  45. johnsbrn (1 Post)
  46. salvo (2 Posts)
  47. Armen Orduyan (3 Posts)
  48. glbboy (1 Post)
  49. matmat (1 Post)
  50. jacu (1 Post)
  51. Rontegen (1 Post)
  52. sdileep (1 Post)
  53. rule3 (1 Post)
  54. demongloom (2 Posts)
  55. mathieuj (2 Posts)
  56. xsuniwov (5 Posts)
  57. anilsonawane (9 Posts)
  58. wiulma (1 Post)
  59. lanex (1 Post)
  60. Karmaresh (1 Post)
  61. gthe (1 Post)
  62. arikkfir (2 Posts)
  63. nrgie (2 Posts)
  64. Anitha (2 Posts)
  65. dzj (1 Post)
  66. kukusz (2 Posts)
  67. sszach (2 Posts)
  68. Benjamin Ansbach (1 Post)
  69. MaGo (1 Post)
  70. wishamster (1 Post)
  71. JSRobbie (1 Post)
  72. mama (17 Posts)
  73. hoanganhinfo (2 Posts)
  74. huggy06 (1 Post)
  75. queej (1 Post)
  76. skaue (16 Posts)
  77. jxl_zyj (1 Post)
  78. changhua (3 Posts)
  79. pawel_filip (1 Post)
  80. fxmisticat (1 Post)
  81. NaveenMinchu (1 Post)
  82. Trinad (2 Posts)
  83. s.lothary (1 Post)
  84. DyNaMo (11 Posts)
  85. wki01 (1 Post)
  86. Gareth Bult (4 Posts)
  87. Trifling (1 Post)
  88. Xander75 (2 Posts)
  89. mschwartz (3 Posts)
  90. geeroc (2 Posts)
  91. Joel Vennin (2 Posts)
  92. Dumas (1 Post)
  93. s.m.srinivas (1 Post)
  94. krudz (1 Post)
  95. boedie_m (2 Posts)
  96. kirit80 (2 Posts)
  97. raby (3 Posts)
  98. Izhaki (3 Posts)
  99. liqingzhu (1 Post)
  100. jej2003 (1 Post)
  101. Chods (1 Post)
  102. florian_cargoet (1 Post)
  103. Erwan62 (8 Posts)
  104. kay.liong (3 Posts)
  105. tianleifeng (1 Post)
  106. Bdfy (1 Post)
  107. gabrieaj (1 Post)
  108. JK. (1 Post)
  109. larry yang (1 Post)
  110. ErMenda (1 Post)
  111. fabito (2 Posts)
  112. u9717410 (3 Posts)
  113. vijaya (1 Post)
  114. lovebread (5 Posts)
  115. kleeb (1 Post)
  116. gemsr.forever (1 Post)
  117. tot2ivn (1 Post)
  118. ikis (1 Post)
  119. Jonny5 (1 Post)
  120. itaymesh (1 Post)
  121. taxidriver (3 Posts)
  122. sdesalas (1 Post)
  123. binoruv (1 Post)
  124. irscomp (2 Posts)
  125. miha-ha (3 Posts)
  126. stranieroinpatria (1 Post)
  127. ryanfebus (1 Post)
  128. docxa (5 Posts)
  129. gopanothera (1 Post)
  130. usan_AT (1 Post)
  131. wallynm (1 Post)
  132. W65138497 (1 Post)
  133. Chilicat (1 Post)
  134. lfs2008 (1 Post)
  135. lukefowell89 (1 Post)
  136. vivek.damco (3 Posts)
  137. jc999 (1 Post)
  138. rauer (1 Post)
  139. D@nte (1 Post)
  140. Patrick86 (1 Post)
  141. Priya R (1 Post)
  142. pdommara@gmail.com (1 Post)