1. #121
    Ext User
    Join Date
    Feb 2010
    Location
    Berlin, Germany
    Posts
    34
    Vote Rating
    0
    p3p3 is on a distinguished road

      0  

    Thumbs up


    RESPECT for this very nice plugin! Great work Condor!

    regards
    p3p3

  2. #122
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    OK, I created an Ext 3.2 compatible PagingStore.

    New features in v0.5:
    - Only for Ext 3.2 (and up?).
    - Added PagingGroupingStore (although I don't recommend using it).
    - Added Ext.ux.PagingStore with doRefresh patch and support for adding/removing/clearing records.

  3. #123
    Sencha Premium Member
    Join Date
    May 2007
    Posts
    57
    Vote Rating
    0
    tchitani is on a distinguished road

      0  

    Default


    Hi Condor

    I know you don't recommend using your great plugin with a GroupingGrid. However, is it possible in case if let say group C spans across 2 pages, recalculate a page size after load and apply paging again with a new page size to avoid the spanning?

    Thank you

  4. #124
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Yes, you could do that.

    For initial load I recommend using suspendEvents/resumeEvents to stop it from displaying the page with the wrong pageSize.

  5. #125
    Ext JS Premium Member
    Join Date
    Jul 2009
    Posts
    4
    Vote Rating
    0
    Rotterdam is on a distinguished road

      0  

    Thumbs up V0.5 START and LIMIT params

    V0.5 START and LIMIT params


    Hi Condor,

    Thanks for your great work on this UX. It works and performs great even with large record sets (5000+)!

    Yesterday I moved a project to Ext 3.2.1 and also upgraded the PagingStore to the new 0.5 version. I then noticed a behaviour which caused a problem for me:

    In version 0.5 the START and LIMIT params are also being send to the server when retrieving records, version 0.41 did not have this behaviour.

    Is this intentional and what is in your opinion the best way to prevent this without have to do 'server side' adjustments?

    I suppose replacing:
    PHP Code:
    this.proxy.request(Ext.data.Api.actions[action], rsoptions.paramsthis.readerthis.createCallback(actionrsbatch), thisoptions); 
    with:
    PHP Code:
    this.proxy.request(Ext.data.Api.actions[action], rsthis.baseParamsthis.readerthis.createCallback(actionrsbatch), thisoptions); 
    Does fix this for me. However this is not really a 'correct' fix.

    What are your thoughts on this?

    Many thanks for this UX and your help is very much appreciated!

  6. #126
    Sencha Premium Member
    Join Date
    May 2007
    Posts
    57
    Vote Rating
    0
    tchitani is on a distinguished road

      0  

    Default


    Thanks Condor

    But if I suspendEvents on beforeload or on load, how I can check if group C spans across 2 pages? I will not be able to use for example store.collect('groupfield') to get unique fieldname and compare the set per page. Is there any better solution how can I check if group C spans accross 2 pages, and if yes, get a number of records grouped by group C and recalculate a paze size by adding this number to the initial page size and reload the store?

    A simple example will be really usefull.

    Thank you in advance

  7. #127
    Ext User
    Join Date
    May 2010
    Location
    india Bangalore
    Posts
    186
    Vote Rating
    0
    mayurid is on a distinguished road

      0  

    Default


    how to place a date field on toolbar..please help with code..i want that date to be inserted into the grid

  8. #128
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Completely untested:
    Code:
    store.suspendEvents();
    store.load({
      callback: function(){
        var limit = ... // calculate limit for first page based on first group
        store.resumeEvents();
        store.load({params: {start: 0, limit: limit}});
      }
    });

  9. #129
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Quote Originally Posted by mayurid View Post
    how to place a date field on toolbar..please help with code..i want that date to be inserted into the grid
    Is this related to PagingStore? If not, please start a new thread.

  10. #130
    Ext User
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    0
    aDoF96 is on a distinguished road

      0  

    Default


    Hi!

    I'm using PagingGroupingStore in a grid and everything is fine with that, but the sort options of the grid don't work :\
    Is it normal this conflict?

Thread Participants: 106

  1. Animal (3 Posts)
  2. galdaka (2 Posts)
  3. cgi-bin (4 Posts)
  4. tchitani (4 Posts)
  5. tobiu (1 Post)
  6. steffenk (1 Post)
  7. renaudham (1 Post)
  8. markpele (1 Post)
  9. Sesshomurai (1 Post)
  10. teddyjas (5 Posts)
  11. buergi (2 Posts)
  12. Buzzwords (2 Posts)
  13. tomcheng76 (4 Posts)
  14. kveeiv (1 Post)
  15. dhisnotnull (2 Posts)
  16. walldorff (1 Post)
  17. brizardh (2 Posts)
  18. elizard (1 Post)
  19. Remy (1 Post)
  20. renoye (8 Posts)
  21. despay (1 Post)
  22. lwexler (2 Posts)
  23. tomim (1 Post)
  24. Mjollnir26 (1 Post)
  25. allenlako (3 Posts)
  26. Andrea Gioia (1 Post)
  27. wp.joju (1 Post)
  28. genio (2 Posts)
  29. 828 (1 Post)
  30. ljschrenk (4 Posts)
  31. diablo (3 Posts)
  32. blakel (1 Post)
  33. Grolubao (2 Posts)
  34. makiavelli (2 Posts)
  35. elesel (1 Post)
  36. Capt.JackSparrow (2 Posts)
  37. ferryman (3 Posts)
  38. cwford (1 Post)
  39. 3dm (1 Post)
  40. imnilesh (1 Post)
  41. Rotterdam (2 Posts)
  42. nandubochkar (1 Post)
  43. Dustin Graham (1 Post)
  44. Boing (2 Posts)
  45. tdteti_ (8 Posts)
  46. vtulin (2 Posts)
  47. hello (1 Post)
  48. PranKe01 (2 Posts)
  49. jbusuulwa (6 Posts)
  50. cwilson (1 Post)
  51. ronaldploeger (1 Post)
  52. scblue (1 Post)
  53. saadkhan (2 Posts)
  54. subbugv (6 Posts)
  55. p3p3 (1 Post)
  56. computeraholic (1 Post)
  57. calabacita (3 Posts)
  58. aghextjs (1 Post)
  59. Arindam Das (1 Post)
  60. aw_zahid (1 Post)
  61. deister (1 Post)
  62. billprince (1 Post)
  63. amol.gaikwad (2 Posts)
  64. george4rotech (7 Posts)
  65. leonrenkema (1 Post)
  66. mvassau (1 Post)
  67. aDoF96 (2 Posts)
  68. attack11 (3 Posts)
  69. chakrics (1 Post)
  70. thangamalar (3 Posts)
  71. mayurid (1 Post)
  72. Lobo (1 Post)
  73. christian130 (3 Posts)
  74. elbino (3 Posts)
  75. eashwaranp (1 Post)
  76. atul.sachan@capgemini.com (3 Posts)
  77. Joe Kuan (1 Post)
  78. kent78 (4 Posts)
  79. dsk1962 (1 Post)
  80. Woodlander (3 Posts)
  81. msmolyak (1 Post)
  82. mond (4 Posts)
  83. anandhasubha (1 Post)
  84. David Warren (1 Post)
  85. colinm (2 Posts)
  86. sothea (1 Post)
  87. incanus (1 Post)
  88. MarceloCajr (1 Post)
  89. knackwurst (1 Post)
  90. Pattie (1 Post)
  91. parnold3 (1 Post)
  92. StanimirPanchev (1 Post)
  93. palashkumar1010 (1 Post)
  94. ash4aque (3 Posts)
  95. farfar (3 Posts)
  96. PrashanthShetty (1 Post)
  97. brprashanth (2 Posts)
  98. perseusy (3 Posts)
  99. theWalli (1 Post)
  100. hieu79vn (1 Post)
  101. Hisamitsu (1 Post)
  102. hensor (1 Post)
  103. northmh (3 Posts)
  104. parax (1 Post)
  105. PankajG (1 Post)
  106. reedcat (1 Post)