[ALOY-444] Collection Binding on TableViewSections
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Models, XML |
Labels | notable |
Reporter | Tony Lukasavage |
Assignee | Feon Sua Xin Miao |
Created | 2012-12-21T18:08:09.000+0000 |
Updated | 2016-01-19T10:27:07.000+0000 |
Description
Essentially, we just need to implement collection binding on TableViewSections just as we do with TableViews. This will allow developers to create categorized, bound data in their tables.
(I just ran into this issue. Would be nice to see it fixed.)
I'm currently using different collections and writing them to different tableViewSections within one table. Looking forward to using the binding method on this one.
Any update on this?
I'd really like to see this feature. Any navigation tableview would benefit from this feature, and in these cases the implementations around are right now useless. Tbh I am surprised this takes 10 months or so to even get any attention?
This issue is extremely important for us. I can see that it keeps getting postponed. Any chance of it actually getting done any time soon?
+1 Extremely important for me too
+1 for me too...
Any news on this issue ?
Is there an update to how resolving this issue is progressing? The lack of collection binding on TableViewSections is preventing the implementation of several end user features (such as a alphabetical index). Thanks
This is still on our roadmap, though not specifically scheduled. We generally recommend developers use the ListView rather than TableView. It supports binding on sections as well as the sectionIndexTitles property, which you could use to create the alpha index you mentioned.
Thank you for the response. Are there any examples of how this can be achieved? We've hit a wall trying to implement grouping the display of data using ListSections using an Alloy template coupled with databinding. We can see how this can be done purely using a Javascript solution, but would rather use Alloy. Thanks
You've looked at https://github.com/appcelerator/alloy/tree/master/test/apps/models/binding_listview right? It shows binding on a list section.
Yes I did - thanks. This might be able to explain the issue better: http://stackoverflow.com/questions/23264350/titanium-js-is-it-possible-to-group-a-collection-alphabetically-in-a-listview-u
I created an app and posted it to your StackOverflow question to show you how I solved this issue. Please post follow-up questions at StackOverflow unless they relate directly to this ticket so that we can keep conversations together. http://stackoverflow.com/questions/23264350/titanium-js-is-it-possible-to-group-a-collection-alphabetically-in-a-listview-u/23279374#23279374 In the future, if you don't mind, please post your questions to our Q&A forums rather than StackOverflow. Most of us don't monitor StackOverflow but do get automatic notifications when new questions are added and tagged properly in our Q&A.
Hi Tim. Noticed this briefly was added to a sprint and then removed. Hoping it will still make it into Alloy 1.5.0
Yeah, sorry about that. We were discussing internally and decided we need to do some more design & architecture on this before we actually start coding. I pulled it from the sprint for now until we can have those discussions.
Figured it was something like that. My comment is a gentle "bump" that there is still at least one dev who would like to see it implemented, but I'll take "right" over "rushed" any day ;)
Any update on this ? TableView as several advantage over list view .... Like => doubletap/singletap on each element of a TableView for instance. Without the data binding mechanism (on table view section) we have to update "manually" the table view (with 2 sections). Which is very ugly and annoying !