开发者

UITableView with clickable, sortable headers

开发者 https://www.devze.com 2023-03-28 17:19 出处:网络
I\'m trying to take an existing UITableView and add column headers which are clickable and sortable. I\'ve looked at AQGridView but I can\'t see a way to g开发者_如何学JAVAet that sort of effect. At t

I'm trying to take an existing UITableView and add column headers which are clickable and sortable. I've looked at AQGridView but I can't see a way to g开发者_如何学JAVAet that sort of effect. At the moment I'm thinking of adding a UIButton above the UITableView then styling it to make it look like a header. Is this an awful idea?


On the iPhone there is not really enough space to do desktop program style column sorting.

The recommended way to to this is to put a UISegmentedControl as the titleView of the UINavigationBar or a UIToolBar.

Looks pretty, too.

0

精彩评论

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