Details
Description
SearchBar in a tableView overlaps with the index column in iOS7.
Here is the test case :
var win = Ti.UI.createWindow();
|
|
var searchBar = Ti.UI.createSearchBar();
|
var indexData = [{title: 'A', index: 0}, {title: 'C', index: 3},{title: 'F', index: 16},{title: 'G', index: 18}];
|
|
var table = Ti.UI.createTableView({
|
search:searchBar,
|
});
|
|
var _data = [
|
{title:'Action Plan',header : 'A'},
|
{title:'Administrative'},
|
{title:'Analyze Performance'},
|
{title:'CCA Approval/Planning',header : 'C'},
|
{title:'Code Upgrade'},
|
{title:'Collaboration'},
|
{title:'Collaboration Initiated'},
|
{title:'Conf Call'},
|
{title:'Configuration/Bin Building'},
|
{title:'Consult'},
|
{title:'Corrective Maintenance'},
|
{title:'Customer Contacted'},
|
{title:'Data Migration'},
|
{title:'Disk Cloning Appliance'},
|
{title:'Dispatch Avoided'},
|
{title:'Escalation'},
|
{title:'FCO Notes',header : 'F'},
|
{title:'Failure Analysis'},
|
{title:'Field Service Update'},
|
{title:'Geo Turnover',header : 'G'},
|
{title:'Health Check'},
|
{title:'Incorrect Customer Info'},
|
{title:'Initial Response'},
|
{title:'Install/Upgrade'},
|
{title:'Next Action'},
|
{title:'Set Update'},
|
{title:'Update From Customer'}
|
];
|
var arr = [];
|
|
for(var i=0; i < _data.length; i++){
|
var row = Ti.UI.createTableViewRow({title:_data[i].title,header:_data[i].header});
|
arr.push(row);
|
}
|
table.setData(arr);
|
table.index=indexData;
|
|
win.add(table);
|
win.open();
|
|
Please find attachment of the screenshots of Titanium and native behavior in iOS7.
Attachments
Issue Links
- duplicates
-
TIMOB-666 iOS: SectionIndexTitle in TableView overlaps the SearchBar
-
- Closed
-