Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

separatorStyle in search result doesn't match tableviews separatorStyle

$
0
0

I have a tableview with separatorStyle:Ti.UI.iPhone.TableViewSeparatorStyle.NONE and a search bar. When I search the result tableview have the default separator. How can I change this, or remove this? Or is this a bug?

Titanium SDK 3.2, iOS 7.x

var searchBar = Titanium.UI.createSearchBar({
    showCancel:false,
    hintText:'Search',
    height:'15%',
    barColor:'#fff',
    backgroundColor:"#fff",
    tintColor:"black",
 
});
 
searchBar.addEventListener('focus', function(e){
 
    win.hideNavBar();
});
 
searchBar.addEventListener('blur', function(e){
 
    win.showNavBar();
});
 
var tableView = Ti.UI.createTableView({
    width:"100%",
    height:"100%",
    search:searchBar,
    filterAttribute: 'filter', 
    //searchHidden:true,
    separatorStyle:Ti.UI.iPhone.TableViewSeparatorStyle.NONE,
    //separatorColor:"#fff"
});
win.add(tableView);

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>