2 Nov 2012 12:11 AM #1
Unanswered: ST2.0 Dataview
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.
3 Nov 2012 2:52 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Have you tried adding a component to the dataview? Dataview is just a container, the ListPaging plugin does just this
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
5 Nov 2012 1:32 AM #3
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?
5 Nov 2012 1:39 AM #4
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?