开发者

table view with multiple columns

i want to display name phone number and salary of a employee in an ipad in the form of table with multiple columns开发者_Python百科 for that i take three table views and successfully displayed data in them . the table views are scrolling independently.but i want to implement if one table view is scrolled the second and third must be moved parallel. can any one please tell me how to implement that one....


If you want all your UITableViews dependants and scrolling at the same time, there is no reason to create multiple table view.

You can just create un custom UITableViewCell with the layout and style you want! This will be easier and will consume less resources.


find out position of cell in first table depending on that change position of cell in next table. You can use following property of UITableView - – scrollToRowAtIndexPath:atScrollPosition:animated:

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜