1. #11
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    Hi Condor,

    Many thanks for the Ext! This is exactly what i needed after struggling with huge xml file.

    Here it's in action:
    http://dev.sk-typo3.de/cetest/svn-log.html
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  2. #12
    Ext User
    Join Date
    Mar 2008
    Posts
    10
    Vote Rating
    0
    dhisnotnull is on a distinguished road

      0  

    Default


    Quote Originally Posted by Condor View Post
    Good catch. I adjusted the first post.
    You missed out the change from
    Code:
    onRefreshClick
    to
    Code:
    refresh
    Ext.PagingToolbar doesnt have a onRefreshClick function.

    I also found another bug,
    Code:
    destroy: function() {
            if (this.storeId) {
                Ext.PagingStoreMgr.unregister(this);
            }
            this.data = this.allData = this.snapshot = null;
            Ext.destroy(this.proxy);
            this.reader = this.writer = null;
            this.purgeListeners();
        },
    should be

    Code:
    destroy: function() {
            if (this.storeId) {
                Ext.StoreMgr.unregister(this);
            }
            this.data = this.allData = this.snapshot = null;
            Ext.destroy(this.proxy);
            this.reader = this.writer = null;
            this.purgeListeners();
        },

  3. #13
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    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 Condor has much to be proud of

      0  

    Default


    Both fixed.

  4. #14
    Ext JS Premium Member
    Join Date
    Aug 2008
    Posts
    3
    Vote Rating
    0
    lwexler is on a distinguished road

      0  

    Default grouping compatible version of PagingStore

    grouping compatible version of PagingStore


    Hi:

    Are there any plans to make a grouping compatible version of this?

    Or, any pointers on how you might go about providing client-side paging with/grouping?


    Thanks,

    Lee Wexler

  5. #15
    Ext JS Premium Member
    Join Date
    Aug 2008
    Posts
    3
    Vote Rating
    0
    lwexler is on a distinguished road

      0  

    Default grouping compatible version of PagingStore

    grouping compatible version of PagingStore


    Just saw your comment in the 2.0 thread, re: grouping. I will try it.

    Sorry for the noise, and thanks for this!

  6. #16
    Sencha User
    Join Date
    Jun 2009
    Posts
    33
    Vote Rating
    0
    imnilesh is on a distinguished road

      0  

    Thumbs up grouping compatible version of PagingStore

    grouping compatible version of PagingStore


    The Grouping Store variant worked for me as well with Ext-JS 3.0 PagingStore.

    Code:
    Ext.ux.data.PagingGroupingStore = Ext.extend(Ext.ux.data.PagingStore, {
            remoteGroup: Ext.data.GroupingStore.prototype.remoteGroup,
            groupOnSort: Ext.data.GroupingStore.prototype.groupOnSort,
        clearGrouping: Ext.data.GroupingStore.prototype.clearGrouping,
        groupBy: Ext.data.GroupingStore.prototype.groupBy,
        applySort: Ext.data.GroupingStore.prototype.applySort,
        applyGrouping: Ext.data.GroupingStore.prototype.applyGrouping,
        getGroupState: Ext.data.GroupingStore.prototype.getGroupState
    });
    Thanks!

  7. #17
    Sencha User
    Join Date
    Aug 2008
    Posts
    34
    Vote Rating
    1
    tomim is on a distinguished road

      0  

    Default


    This is great add-on.

    Thanx!!!

  8. #18
    Sencha Premium Member
    Join Date
    May 2008
    Posts
    24
    Vote Rating
    0
    renoye is on a distinguished road

      0  

    Default In 3.0, PagingStore and GridFilter cuase problem in PagingToolbar

    In 3.0, PagingStore and GridFilter cuase problem in PagingToolbar


    I am using the newest PagingStore v0.4 and gridFilter 0.2.8. I have problems on the paging toolbar.

    Two problems I've noted:
    1. Page count always keeps the same as well as total records count on the paging toolbar.
    2. Store shows current empty page instead of navigating to 1st page (if I filter 1 record for example)

    Should I fire some event? where do I fire?

    thanks

  9. #19
    Sencha Premium Member
    Join Date
    May 2008
    Posts
    24
    Vote Rating
    0
    renoye is on a distinguished road

      0  

    Default another page nation problem

    another page nation problem


    let's say I have 3 total pages. Currently, I am in page 2.
    I click the refresh button which I override

    Ext.override(Ext.PagingToolbar, {
    // private
    refresh: function(){
    this.store.loadData(newObj);
    }
    });

    the grid reloads and show the correct records of the second page since i di not change the lastoptions.start and limit. However, the paging toolbar shows I am in page 1.

    I must miss something between the page store and page toolbar. Can some one please help me. thx

  10. #20
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    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 Condor has much to be proud of

      0  

    Default


    loadData will fire a load event without start and limit parameters, making the PagingToolbar think it is on the first page.

    Instead of loadData try:
    Code:
    var r = store.reader.readRecords(data);
    store.loadRecords(r, Ext.apply({}, store.lastOptions), true);

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)