[TIMOB-2180] iOS: Add search to index scrolling on TableView iOS
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Trivial |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-11-11T20:32:14.000+0000 |
Affected Version/s | Release 1.5.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | tbs-1.9.0 |
Reporter | Ralf Pfeiffer |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:12:54.000+0000 |
Updated | 2017-03-22T20:43:52.000+0000 |
Description
We have a request to add the search bar to the scroll index
See this ticket:
http://developer.appcelerator.com/helpdesk/view/50751">http://developer.appcelerator.com/helpdesk/view/50751
Comments
- Pedro Enrique 2011-04-15
Updating ticket with another request:
http://developer.appcelerator.com/helpdesk/view/71621">http://developer.appcelerator.com/helpdesk/view/71621 - Jeroen K. 2011-04-15
Does the ticket Pedro links to means it's also pointed at in the helpdesk for premium subscribers? Will any headway on this be reflected on this ticket as well?
- Sindre Sorhus 2011-11-14
Any updates on this?
It's still missing from Ti 1.7.5 (iOS 4.3/5).
Testcase
Titanium.UI.setBackgroundColor('#000'); var win = Titanium.UI.createWindow({ title: 'title', backgroundColor: '#fff' }); win.open({ modal: true, transition: false }) var table = Ti.UI.createTableView({ search: Ti.UI.createSearchBar() }); win.add(table); var fillTableView = function() { var tableData = []; var header = ''; var index = []; var i = 0; index.push({ title: '{search}', index: -1 }); for ( var i = 0; i <= 20; i++ ) { var row = Ti.UI.createTableViewRow({ title: 'test' }); index.push({ title: i+'', index: i }); tableData.push( row ); } table.data = tableData; table.index = index; }; fillTableView();
- Sindre Sorhus 2011-11-14
- Sindre Sorhus 2011-11-14
- Pedro Enrique 2013-11-11
- Lee Morris 2017-03-22 Closing ticket as duplicate of the tickets that are mentioned above and has since been closed.