Skip to content

c-rick/c-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

simpale loop table

required jq

how to use?

<link rel="stylesheet" href="c-table.css">
<script src="./c-table.js"></script>
grid = new Table(options)
grid.renderData(localDate)

options

name type required defind
col Array true 列定义
selector string true 表格填充元素
autoshow boolean false 是否打开子表格
subKey string false 子数据对应的key
filterObj Object false 对应级列表的过滤器
defaultFilter Function true 默认过滤器

example like demo

alt

About

a simple table for loop data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors