1. #91
    Sencha User ThorstenSuckow's Avatar
    Join Date
    Sep 2007
    Location
    Aachen, Germany
    Posts
    597
    Vote Rating
    2
    ThorstenSuckow is on a distinguished road

      0  

    Default


    A late Happy New Year to you all!

    Just wanted to let you all know that I was on vacation and that I'm aware about your recent posts.

    I'll provide feedback as soon as I am back home at my working place.

    Best regards


    Thorsten

  2. #92
    Ext User
    Join Date
    Aug 2007
    Posts
    33
    Vote Rating
    0
    magunes117 is on a distinguished road

      0  

    Thumbs up


    Hi Thorsten,

    Happy new year.

    I am using this component in a .NET environment (as you can see the sample a few posts above). I need to ask sth: When I start dragging the scrollbar, a request is immediately sent to the server, and when I release the scrollbar it sends another request. So I have to wait for the end of both requests to see the data. Now, when I have a lot of data (1 million rows for instance), the first request takes 9 seconds and the second takes 10 seconds.

    Is there a way to disable the sending of that first request, so I only wait for the second one. It will be 2 times faster. The request will only be sent when I release the scrollbar?

    Thanks and regards.

  3. #93
    Ext User
    Join Date
    Jan 2008
    Posts
    11
    Vote Rating
    0
    zergworld is on a distinguished road

      0  

    Default ext live grid api docs?

    ext live grid api docs?


    Sorry if this question has already been asked and answered, but are there EXT-style API docs available? If so, please link. If not, is there anything you'd suggest to learn the live grid options that are not fully represented in the example demo?

    Thanks !

  4. #94
    Ext User
    Join Date
    Dec 2007
    Posts
    9
    Vote Rating
    0
    eliasp is on a distinguished road

      0  

    Cool


    I probably found another bug:
    • Scroll down some rows
    • Click an item
    • Move the selection upwards using the up key at your keyboard
    • Firebug shows this error:
    Code:
    Index or size is negative or greater than the allowed amount" code: "1
    [Break on this error] return this.getRows()[row];
    ext-all-debug.js (line 29577)
    Can anybody confirm this? It's not a mission critical bug, but sometimes a little annoying.

    Thanks anyway for this really great extension. Exactly what I was looking for!

    Regards, Elias P.

  5. #95
    Ext User
    Join Date
    Jan 2008
    Posts
    11
    Vote Rating
    0
    zergworld is on a distinguished road

      0  

    Default Live Grid vs regular paging question

    Live Grid vs regular paging question


    Hi Thorsten.

    First off, exellent work. Your implementation of Live Grid is awesome.

    I have a few "questions" regarding the inherent differences in the natures of Live Grid and Paging that perhaps others have already considered and are handling in some way.

    1. Live Grid is "live", so the act of scrolling fetches new data by re-running the original query and potentially changing the virtual result set (if the backing data has changed), such that data selections might be moved simply by scrolling.

    2. A range selection that crosses frames (pages) constitutes a "virtual subset". Scrolling after a range selection can affect the data "within" that set if the backing data is affected.

    3. Range selections (virtual selections), don't point to IDs directly, so that range selection needs to be mapped to records on the server side for update purposes. However, the process of correlating the virtual selections to actual IDs on the server is not reliable since that involves re-running the query and mapping row positions... however, the backing data has changed.

    All live grids involve virtual sets and therefore have these characteristics and potential mapping issues due the live re-querying that is needed to fetch frames of data.

    Now, it's true that a paging solution's virtual set also changes during paging, so any cross-frame action will have the same consequences. However, in the case of a paged view, the user and UI is typically expecting to operate only on data within the current page view - i.e. actions on data are not targeted at the virtual set but only on the actual subset in view.

    Facing these matters, I'm trying to determine when and where to use live grid versus paging interfaces. It seems that the answer is not merely a UI decision but is informed by the functional behavior.

    My thought at this time is that actionable lists for which group actions (esp those that are targeted at cross frame ranges in the virtual data set) are to be applied, where a group action might be "delete the selected rows from the db", should use a paging interface, and that a live grid is OK for pure views, as in the common case of "search, scroll, click to view detail".

    Does this sound right, and have others dealt with these considerations?

    Thanks,
    Joe Hanink

  6. #96
    Ext User
    Join Date
    Jan 2008
    Posts
    11
    Vote Rating
    0
    zergworld is on a distinguished road

      0  

    Default


    In sum,

    Live Grid over Live Data (data that might change during use) poses the above challenges. Live Grid over historical data that doesn't change poses none of the above challenges.

    If dealing with Live Data, then Live Grid poses difficulties for managing range selections and actions on those selections. ID-based single selections are no problem, of course.

    In the case of actionable lists over live data, a paging interface may be preferred, simply to avoid such issues.

    Opinions?

    Thanks Again,
    Joe Hanink

  7. #97
    Sencha User
    Join Date
    Apr 2007
    Posts
    71
    Vote Rating
    0
    Confused is on a distinguished road

      0  

    Default


    I have ran into an issue using this extension. It's not a normal use of grids. I have one Store that fetches a record set with 7 columns and 2 grids that share that Store. One grid has 2 of the columns from one record, and 2 other columns are in the other grid. The remaining columns are for css formating and UIDs. If I update both grid's view to a new Ext.ux.grid.BufferedGridView, one of the grids doesn't display the rows. If I remove that view, it displays the rows that are in the Store, but looses the understanding of where the cursor is located and no scroll bars.

    How can I share the Store between these two grids and still be able to set the view for both grids?

    Here's the code for the store:
    Code:
        var bufferedReader = new Ext.ux.data.BufferedJsonReader({
            root: 'file',
            id: 'nLine',
            versionProperty: 'version',
            totalProperty: 'total'
        }, [
            { name: 'iDiff' },
            { name: 'aType' },
            { name: 'uComment' },
            { name: 'lNumber' },
            { name: 'lContent' },
            { name: 'rNumber' },
            { name: 'rContent' }
        ]);
    
        this.diff = new Ext.ux.grid.BufferedStore({
            bufferSize: 300,
            url: 'ajax/diffs.cgi',
            reader: bufferedReader
        });
    Here's the code for the left grid:
    Code:
                    items: new Ext.grid.GridPanel({
                        id: 'leftView',
                        ds: this.diff,
                        sm: new Ext.ux.grid.BufferedRowSelectionModel(),
                        cm: new Ext.grid.ColumnModel([
                            { header: 'Line', width: 50, dataIndex: 'lNumber' },
                            { header: 'Content', id: 'lc', dataIndex: 'lContent' }
                        ]),
                        view: new Ext.ux.grid.BufferedGridView({
                            nearLimit: 100,
                            loadMask: { msg: 'Please Wait...' }
                        }),
                        title: '<span class="tbheader">Original File</span>',
                        autoExpandColumn: 'lc'
                    })
    Here's the code for the right grid:
    Code:
                    items: new Ext.grid.GridPanel({
                        id: 'rightView',
                        ds: this.diff,
                        sm: new Ext.ux.grid.BufferedRowSelectionModel(),
                        cm: new Ext.grid.ColumnModel([
                            { header: 'Line', width: 50, dataIndex: 'rNumber' },
                            { header: 'Content', id: 'rc', dataIndex: 'rContent' }
                        ]),
                        view: new Ext.ux.grid.BufferedGridView({
                            nearLimit: 100,
                            loadMask: { msg: 'Please Wait...' }
                        }),
                        title: '<span class="tbheader">Changed File</span>',
                        autoExpandColumn: 'rc'
                    })
    I have attached a screenshot of the grids when both views are set.
    Attached Images

  8. #98
    Ext User
    Join Date
    Aug 2007
    Posts
    11
    Vote Rating
    0
    vpell is on a distinguished road

      0  

    Default large number of columns issue

    large number of columns issue


    LiveGrid is really awesome. The one issue I have is using it with grids that have a large number of columns. For example, one of my grids has 40 columns, all of which are important. This makes vertical scrolling really slow and cluncky. Is it possible to remove columns from the view that are out of scroll range but still display the horizontal scroll bar as if all the columns were there? Then, when the user scrolls horizontally, dynamically add/remove the columns to the view. This would make LiveGrid perform well even with a large number of columns.

  9. #99
    Sencha User
    Join Date
    Apr 2007
    Posts
    71
    Vote Rating
    0
    Confused is on a distinguished road

      0  

    Default


    I think this was already suggested, but I would like to see the option to either pull the rows from a local Store or pull from a server. I have done a lot of debugging in my application that has two grids side-by-side and found that it's not the Store that's hurting performance, it's the calls to get the style for each row and doing other calculations.

  10. #100
    Ext User provagino's Avatar
    Join Date
    Jul 2007
    Posts
    31
    Vote Rating
    0
    provagino is on a distinguished road

      0  

    Default live grid don't work whit Ext 2.0.1

    live grid don't work whit Ext 2.0.1


    live grid don't work whit Ext 2.0.1

Thread Participants: 248

  1. JeffHowden (1 Post)
  2. Animal (4 Posts)
  3. rodiniz (1 Post)
  4. galdaka (2 Posts)
  5. mdissel (1 Post)
  6. Wolfgang (1 Post)
  7. zzo (2 Posts)
  8. Frank (1 Post)
  9. herve (2 Posts)
  10. ericd (2 Posts)
  11. RWaters (5 Posts)
  12. Digital God (1 Post)
  13. Dumbledore (11 Posts)
  14. KimH (1 Post)
  15. pjordan (1 Post)
  16. cpantel (1 Post)
  17. mystix (3 Posts)
  18. wanclark (1 Post)
  19. MD (3 Posts)
  20. drew (1 Post)
  21. jheid (15 Posts)
  22. tsprague (1 Post)
  23. Confused (2 Posts)
  24. thesilentman (1 Post)
  25. andreas.linde (1 Post)
  26. violinista (1 Post)
  27. redxiii (1 Post)
  28. akannu (1 Post)
  29. theo (1 Post)
  30. Troy Wolf (3 Posts)
  31. chh (4 Posts)
  32. Phenothiasine (1 Post)
  33. danh2000 (1 Post)
  34. tobiu (1 Post)
  35. badgerd (1 Post)
  36. mlarese (1 Post)
  37. pluesch0r (1 Post)
  38. krycek (1 Post)
  39. gtaylor (4 Posts)
  40. ftftft (1 Post)
  41. hallikpapa (7 Posts)
  42. tech-nova (1 Post)
  43. provagino (1 Post)
  44. mjlecomte (2 Posts)
  45. iancmcc (1 Post)
  46. andrei.neculau (7 Posts)
  47. zieli1 (1 Post)
  48. meteorbites (1 Post)
  49. brookd (3 Posts)
  50. alexpetri (1 Post)
  51. urskipfer (1 Post)
  52. JEBriggs (1 Post)
  53. magunes117 (6 Posts)
  54. shiweiwei97 (3 Posts)
  55. vpell (1 Post)
  56. gelleneu (4 Posts)
  57. ohhowihateie (2 Posts)
  58. Andrewd2 (1 Post)
  59. Jacob (1 Post)
  60. cherbert (2 Posts)
  61. DragonFist (1 Post)
  62. marcoas (1 Post)
  63. Shmoo (1 Post)
  64. GraemeBryce (1 Post)
  65. w011117 (1 Post)
  66. luxxxian (1 Post)
  67. loverofdream (1 Post)
  68. lvanderree (1 Post)
  69. robw (1 Post)
  70. SeaSharp (1 Post)
  71. xpressive (1 Post)
  72. jeremia (1 Post)
  73. wm003 (21 Posts)
  74. miti (1 Post)
  75. sfrancolla (1 Post)
  76. Blob (1 Post)
  77. WoLpH (5 Posts)
  78. khatuido (3 Posts)
  79. zacware (3 Posts)
  80. mepfuso (2 Posts)
  81. wasp (1 Post)
  82. sharpguy (1 Post)
  83. stevets (1 Post)
  84. fred (1 Post)
  85. eliasp (3 Posts)
  86. h0tzenpl0tz (1 Post)
  87. tonedeaf (1 Post)
  88. Zolcsi (3 Posts)
  89. dearsina (1 Post)
  90. efattal (3 Posts)
  91. franck34 (3 Posts)
  92. tyr (1 Post)
  93. cybertaz (1 Post)
  94. zergworld (8 Posts)
  95. sekundek (1 Post)
  96. cs_alpha (3 Posts)
  97. Sultanalifezar (3 Posts)
  98. emily (7 Posts)
  99. jwendt@iscinternational.com (1 Post)
  100. sinma (1 Post)
  101. ItsMee (3 Posts)
  102. Nic (1 Post)
  103. sksoft (4 Posts)
  104. mjhaston (1 Post)
  105. mattb (4 Posts)
  106. jenner (1 Post)
  107. 2le (1 Post)
  108. bluefeet (1 Post)
  109. PremiereGlobal (2 Posts)
  110. rtozati (1 Post)
  111. KirkOlson (4 Posts)
  112. False Maria (1 Post)
  113. jbd007 (5 Posts)
  114. c.barca (1 Post)
  115. nctag (34 Posts)
  116. kfironit123 (1 Post)
  117. Emt (1 Post)
  118. ub3rn00b (12 Posts)
  119. Ballsacian1 (1 Post)
  120. mprice (1 Post)
  121. srikanthnukala (2 Posts)
  122. Mots (2 Posts)
  123. yhwh (1 Post)
  124. el777 (1 Post)
  125. JoomlaMan (1 Post)
  126. sanjivank (1 Post)
  127. sdetweil (1 Post)
  128. Snakehit (1 Post)
  129. msynovic (2 Posts)
  130. Snuyt (1 Post)
  131. as (2 Posts)
  132. pkmiec (2 Posts)
  133. epoks (2 Posts)
  134. NoahK17 (1 Post)
  135. praneeth528 (2 Posts)
  136. bemn (1 Post)
  137. Remy (1 Post)
  138. Daniel_Brazil_Campinas (1 Post)
  139. freddyk (4 Posts)
  140. dshorthouse (1 Post)
  141. dahman7 (1 Post)
  142. Canard64 (1 Post)
  143. dkuz (2 Posts)
  144. xsuniwov (1 Post)
  145. neha.chopra (1 Post)
  146. Eric24 (2 Posts)
  147. Mandeep (2 Posts)
  148. ttbgwt (6 Posts)
  149. suzan (1 Post)
  150. tenthcup (5 Posts)
  151. excelsis (5 Posts)
  152. DaveBrewster (6 Posts)
  153. rusty124 (1 Post)
  154. bcmatz (3 Posts)
  155. bjcullinan (1 Post)
  156. sstratton (4 Posts)
  157. Scorpie (1 Post)
  158. supercharge2 (3 Posts)
  159. Bing Qiao (6 Posts)
  160. tmaung (1 Post)
  161. xenon (4 Posts)
  162. sureaintme (5 Posts)
  163. animeshsingh (2 Posts)
  164. NicoP (29 Posts)
  165. cyfl (2 Posts)
  166. simplessus (1 Post)
  167. imnphd (1 Post)
  168. mono blaine (5 Posts)
  169. Kango_V (5 Posts)
  170. cain06 (1 Post)
  171. charak (2 Posts)
  172. vayumahesh (1 Post)
  173. Gabor Turi (1 Post)
  174. daeghran (2 Posts)
  175. maceido (5 Posts)
  176. sgoswami (1 Post)
  177. rubaiz (1 Post)
  178. Jabe (1 Post)
  179. ecarrenho (1 Post)
  180. mpereira (1 Post)
  181. changhua (4 Posts)
  182. alexw23 (1 Post)
  183. fxmisticat (5 Posts)
  184. extjssiva (1 Post)
  185. f1xxx3r (1 Post)
  186. SimoAmi (1 Post)
  187. aj3423 (1 Post)
  188. kkothari (2 Posts)
  189. jmariani (28 Posts)
  190. ibet (3 Posts)
  191. SunWuKung (1 Post)
  192. micgala (2 Posts)
  193. inptisto (1 Post)
  194. TheColonel (1 Post)
  195. cdeguzman (1 Post)
  196. ektanit (6 Posts)
  197. James Wang (1 Post)
  198. PCBingoB (1 Post)
  199. flylaputa (1 Post)
  200. MacSimon (1 Post)
  201. pibree (2 Posts)
  202. Markus (1 Post)
  203. aleister999 (2 Posts)
  204. adamli (2 Posts)
  205. jmaisel (4 Posts)
  206. pdugas (1 Post)
  207. plaak (1 Post)
  208. coriolis (2 Posts)
  209. weazil (4 Posts)
  210. fwiethof (1 Post)
  211. meroy (19 Posts)
  212. lxf1101 (2 Posts)
  213. stephen.friedrich (3 Posts)
  214. vinepod (1 Post)
  215. yuriy (2 Posts)
  216. completej (1 Post)
  217. dan_jf (1 Post)
  218. harel (2 Posts)
  219. veenvliet.morion (2 Posts)
  220. yura620310 (1 Post)
  221. barncat (1 Post)
  222. DmitrySistor (2 Posts)
  223. pclovec (3 Posts)
  224. Ranma13 (1 Post)
  225. swang (4 Posts)
  226. calugaru.cristian (5 Posts)
  227. mohan_b (1 Post)
  228. karlsnyder0 (2 Posts)
  229. JimmyInMD (2 Posts)
  230. tolitius (1 Post)
  231. a.labeau (2 Posts)
  232. benjixx (1 Post)
  233. psm1963 (1 Post)
  234. sosy (1 Post)
  235. nosferatum (10 Posts)
  236. daddie888 (1 Post)
  237. ixvivxi (1 Post)
  238. dp814082 (1 Post)
  239. nickelj (4 Posts)
  240. wifi4psp (1 Post)
  241. drian (1 Post)
  242. su-aska (1 Post)
  243. SebTardif (1 Post)
  244. danceric (1 Post)
  245. DTSman (1 Post)
  246. brian.moeskau (1 Post)
  247. Neethi (2 Posts)
  248. sango (1 Post)