Results 1 to 4 of 4

Thread: ST2.0 Dataview

  1. #1
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    245
    Answers
    6
    Vote Rating
    2
      0  

    Default ST2.0 Dataview

    Hi guys,

    Is there a way to display something like 3 dots or some kind of image to mark end of data on a dataview that doesn't have enough data to cover the entire screen. Let say you have only 3 records and that only covers 1/2 the screen, below the 3rd record you'd want to show " . . . " or something equivalent? Responses are appreciated.

    Regards,
    Riyaad

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Have you tried adding a component to the dataview? Dataview is just a container, the ListPaging plugin does just this
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    245
    Answers
    6
    Vote Rating
    2
      0  

    Default

    Hi Mitchell,

    Thank you for your response, although that not exactly what I'm looking for as the ListPaging plugin assumes that you have more data to load. In my case (given the user's settings) there's no more data to load hence me wanting to display something like 'End of Data' or '...' below the last record. How does one test for the last record in a dataview?

    Regards
    Riyaad

  4. #4
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    245
    Answers
    6
    Vote Rating
    2
      0  

    Default

    Okay I found the noMoreRecordsText config in the ListPaging plugin ...seems it has the same problem emptyText has in ST2 - that being that when you user comes back to the app (with settings already setup) and there's no records ...the emptyText is not fired up. For the record nor is noMoreRecordsText. Upon refresh - it works. Does ST2.1 resolve this?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •