码迷,mamicode.com
首页 >  
搜索关键字:custom cell    ( 7916个结果
【转】jqGrid学习之安装
jqGrid安装很简单,只需把相应的css、js文件加入到页面中即可。按照官网文档:/myproject/css/ ui.jqgrid.css /ui-lightness/ /images/ jquery-ui-1.7.2.custom.css/myproject/js/ /i18n/ grid.l...
分类:其他好文   时间:2014-09-23 13:27:24    阅读次数:187
zencart目录结构
zencart目录结构文件路径注释index.php主文件includes/templates/[custom template folder]/common/html_header.php页面的head部分includes/templates/[custom template folder]/co...
分类:其他好文   时间:2014-09-23 13:02:14    阅读次数:231
SoapUI Pro Project Solution Collection-Custom project and setup
import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import com.eviware.soapui.SoapUI; import com.eviware.soapui.SoapUIProSett...
分类:其他好文   时间:2014-09-22 22:33:13    阅读次数:232
STL algorithm算法pop_heap,push_heap(45)
pop_heap原型: std::pop_heap default (1) template void pop_heap (RandomAccessIterator first, RandomAccessIterator last); custom (2) template void pop_heap (RandomAcc...
分类:其他好文   时间:2014-09-22 19:25:23    阅读次数:183
黑马程序员-6.UITableView
相比于其他的View,UITableView算是用的很广的一个,和UITableView配合使用的是Cell,在程序中可以自定Cell,包括内容样式等UITableView需要一个数据源(dataSource)<UITableViewDataSource>在ViewController中声明做tableView的时候,需要让控制器充当代理的角色在控制..
分类:其他好文   时间:2014-09-22 11:52:53    阅读次数:230
UICollectionView的基本使用
self.view.backgroundColor=[UIColorwhiteColor]; //UICollectionViewLayout不能直接使用,给collectionView的cell提前布局prepareLayout(重写item的方法) UICollectionViewFlowLayout*flowLayout=[[UICollectionViewFlowLayoutalloc]init]; //cell的大小item的大小 flowLayout..
分类:其他好文   时间:2014-09-22 11:35:23    阅读次数:149
android 自定义titlebar标题栏冲突问题
在使用自定义titlebar时候,使用以下方法设置自己的标题栏: requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.main); getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE,R.layout....
分类:移动开发   时间:2014-09-21 18:27:43    阅读次数:268
iOS开发动态计算cell的高度
在iOS开发过程中, 我们经常会用到UITableView, 谈到UITableView当然少不了UITableViewCell.那么有时候我们就会有疑惑,怎么样才能让cell的高度根据文字的大小多少,以及照片的高度来动态设计呢?下面我们来看一下,到底怎么做才能让cell的高度动态变化, 让界面看起来更美观协调一些呢?...
分类:移动开发   时间:2014-09-20 10:04:27    阅读次数:159
tableView   cell 复用 第一种
第一种方法staticNSString*iden=@"dd";TableViewCell*cell=[tableViewdequeueReusableCellWithIdentifier:iden];if(!cell){cell=[[TableViewCellalloc]initWithStyle:UITableViewCellStyleDefaultreuseIdentifier:iden];}returncell;
分类:其他好文   时间:2014-09-20 02:25:26    阅读次数:148
tableView   cell 复用 第二种
cell第二种方法(1)staticNSString*ideng=@"reuse";cell第二种方法(2)注册复用cell(cell的类型和标识符)(可以同时注册多个cell,方法相同,一定要保证标识符是不一样的)注册到了tableView的复用池[self.tableViewregisterClass:[TableViewCellclass]forCellReuseIdentifier:ideng]..
分类:其他好文   时间:2014-09-20 02:25:06    阅读次数:158
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!