1. #1
    Sencha User
    Join Date
    Sep 2007
    Posts
    23
    Vote Rating
    0
    bobvandell is on a distinguished road

      0  

    Question ListPagingPlugin doesn't render when store returns empty results on autoLoad.

    ListPagingPlugin doesn't render when store returns empty results on autoLoad.


    I am building an application that has three log lists that are to show logs in 7 day increments.

    I'm using the Ext.plugins.ListPagingPlugin inside an Ext.List.

    The problem I'm having is that when an empty result set is successfully returned, the loadMoreText isn't rendered...

    I have three lists with three different data types and the two that have records on the first load render fine and continue to render the loadMoreText even when paging returns no records, but the third doesn't display it at all. The data retrieval and rendering are working fine but I wanted to make use of the new ListPagingPlugin and that's what is causing me problems now.

    Here's an example of my list and plugin that won't show the loadMoreText.

    Code:
        paging = new Ext.plugins.ListPagingPlugin({loadMoreText: 'Previous 7 days...'});
            
        agentLogsList = new Ext.List(
        {
            title: 'Agent Log',
            disableSelection: true,
            pinHeaders: true,
            trackOver: true,
            itemTpl: logTemplate,
            store: agentLogsStore,
            scroll: 'vertical',
            plugins: [paging],
            deferEmptyText: false,
            emptyText: '<div style="text-align: center; padding-top: 10px;">No logs to display...</div>'
        });
    Any help is much appreciated.

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    23
    Vote Rating
    0
    bobvandell is on a distinguished road

      0  

    Default


    39 views and not a single reply? What a weekend...

  3. #3
    Sencha User
    Join Date
    Sep 2007
    Posts
    23
    Vote Rating
    0
    bobvandell is on a distinguished road

      0  

    Default


    Never mind, screw it. I decided to always pre-pend my result set with the date range being returned (even if there are no log entries) as the first record.

Similar Threads

  1. query-by on filtered data in Store => returns unfiltered results
    By Iowahc in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 8 Nov 2010, 4:21 AM
  2. Show No results in the grid if store returns none
    By newedge in forum Community Discussion
    Replies: 3
    Last Post: 19 Sep 2009, 4:22 AM
  3. Autoload in Ext.data.Store doesn't work
    By simon in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 16 Apr 2009, 8:06 AM
  4. Store collection returns empty array
    By Padster in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 18 Sep 2008, 9:11 AM
  5. Replies: 2
    Last Post: 6 Aug 2008, 11:44 PM
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi