开发者

Scrolling horizontally in the tableview along with normal vertical scroll

I have a requirement which lists the Cricket players in a table view with thier names and their stats like the following

Name total 4's 6's 1's average

Tendulkar 231 O 6 5 3.6

Gangully 2开发者_开发知识库12 9 0 8 4.5

the total number of stats is like 8 to 10 , for that I have to make the stats horizantally scrollable, freezing the name. Can anyone explain me how to acheive this in a table view for iPhone sdk.

My question is, is it possible to scroll horizontally in the tableview freezing a single column, Please help me with an example.


Technically it's possible. You need to make UIScrollView a subview in your UITableViewCell. Configure the scrollview to scroll only horizontally. Put data in it & set the content size...

Not sure about the performance implications of this on your tableView (vertical) scroll. This depends on the data in your horizontal scroll...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜