Hiding borders in tableview
Hi,
Is there a way to hide the borders between different rows in a tableview? I tried setting the property borderwidth to 0 but it does not help. I am using android emulator.
6 Answers
-
Hi there,
I think separatorColor:'transparent' might work.
cheers,
Chris. -
You may be looking for something like this:
separatorStyle: Titanium.UI.iPhone.TableViewSeparatorStyle.NONE
But I believe (as is indicated) it's an iPhone only attribute
-
2 things.
Are you setting this on a TableView or a TableViewRow?
2nd, not sure if its a mis-spelling, but it should be borderWidth, not borderwidth.
let me know if this doesn't help.
-
Thanks for you hints..But I tried setting both on TableView and TableViewRow and it did not work..
-
Hmph.. I added my answer as a comment & can't delete it.
Here's the answer if you want to try and vote it up;
How about altering the separatorColor so that it's the same colour as the table? That will work on Android as well as iPhone.
-
I have same issue. and i need for iPhone as well as Android.