局部刷新UITableView
2013-07-09 11:45
363 查看
刷新表
[self.tableView relodata];
局部section刷新
NSIndexSet * nd=[[NSIndexSet alloc]initWithIndex:0];//刷新第1个section
[self.tableView reloadSections:nd withRowAnimation:
UITableViewRowAnimationAutomatic];
局部cell刷新
NSIndexPath *te=[NSIndexPath indexPathForRow:1 inSection:0];//刷新第一个section的第1行
[self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:te,nil] withRowAnimation:UITableViewRowAnimationMiddle];
[self.tableView relodata];
局部section刷新
NSIndexSet * nd=[[NSIndexSet alloc]initWithIndex:0];//刷新第1个section
[self.tableView reloadSections:nd withRowAnimation:
UITableViewRowAnimationAutomatic];
局部cell刷新
NSIndexPath *te=[NSIndexPath indexPathForRow:1 inSection:0];//刷新第一个section的第1行
[self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:te,nil] withRowAnimation:UITableViewRowAnimationMiddle];
相关文章推荐
- 局部刷新UITableView
- UITableView刷新局部
- UITableView 局部刷新
- UITableView 局部刷新
- 【局部刷新】GetUpdateRect和GetClipBox 获取无效区域的区别
- Tacos 一种 Tapestry 的局部刷新组件
- GetCallbackEventReference方法实现局部刷新,回调非WebSerice实现
- 前端ajax,后台java+springmvc实现异步表格局部刷新分页
- MVC+Jquery局部刷新上传图片
- .NET中使用js实现百度搜索下拉提示效果[不是局部刷新,呜呜。。]
- 应用js函数柯里化currying 与ajax 局部刷新dom
- goahead 利用ajax实现局部刷新
- ajax在JavaScript的使用:异步传输,局部刷新
- ListView GridView 自定义ViewGroup的单个item 刷新 和 单个item中的局部元素刷新
- TableView刷新 局部刷新等
- jquery刷新页面的实现代码(局部及全页面刷新)
- 关于jquery dialog +ifram,并要局部刷新的总结
- MVC无刷新分页(即局部刷新,带搜索,页数选择,排序功能)
- 整体刷新和局部刷新frameset窗口问题深入探
- Tacos 一种 Tapestry 的局部刷新组件