Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

yzvictory/DoDataTableView

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

表格展示

功能

  • 支持设置标头
  • 支持固定列
  • 支持设置简单的样式,比如字体颜色,样式,背景色等。

##效果 MacDown logo ##使用 代理方法

//点击cell
- (void)form:(DoDataTableView *)formScrollView didSelectCellAtIndexPath:(DoIndexPath *)indexPath
{
    
}
//点击冻结列
- (void)form:(DoDataTableView *)formScrollView didSelectSessionAtIndexPath:(DoIndexPath *)indexPath
{
    
}
//长按
- (void)form:(DoDataTableView *)formScrollView didLongTouchCellAtIndexPath:(DoIndexPath *)indexPath
{

}

数据源方法

//column
- (NSInteger)numberOfColumn:(DoDataTableView *)formScrollView
{
    
}
// row
- (NSInteger)numberOfSection:(DoDataTableView *)formScrollView
{
    
}
//冻结列
-(NSInteger)numberOfFreezeColumn:(DoDataTableView *)formScrollView
{
    
}
//height
- (CGFloat)form:(DoDataTableView *)formScrollView heightForRowAtSection:(NSInteger)section
{
    
}

// style
- (DoColumnHeaderStyle *)styleForFormScrollView
{
    
}
- (DoFormLeftTopView *)form:(DoDataTableView *)formScrollView columnLeftTopAtColumn:(NSInteger)column
{
   
}

- (DoFormColumnHeaderView *)form:(DoDataTableView *)formScrollView columnHeaderAtColumn:(NSInteger)column
{
    
}

- (DoFormSectionHeaderView *)form:(DoDataTableView *)formScrollView sectionHeaderAtIndexPath:(DoIndexPath *)indexPath;
{
   
}
- (DoFormCell *)form:(DoDataTableView *)formScrollView cellForColumnAtIndexPath:(DoIndexPath *)indexPath
{
    
}

##issue 如有bug,欢迎纠正

About

企业表格

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.