elementUI -> 表格
- 基础表格
- 带斑马纹
- 带边框
- 行高亮(row-class-name属性)
- 固定表头(增加height属性)
- 固定列(列fixed属性)
- 固定列和表头(两个属性同时设定)
- 流体高度(超出max-height时显示滚动条)
- 多级表头(el-table-column里面嵌套el-table-column)
- 选中行(highlight-current-row属性,@current-change事件)
- 多选checkbox(加一列selection,@selection-change事件)
- 排序(后端排序:列加sortable=custom,@sort-change事件)
- 筛选(列filters过滤数组,filter-method过滤方法)
- 自定义列模板(template slot-scope=“scope”属性)
- 展开行(加一列,type=expend)
- 自定义表头(slot=header)
- 表尾合计行(show-summary属性,summary-method求和方法,返回一个数组)
- 合并行或列(span-method函数返回数组或对象实现合并单元格)
- 自定义索引(加一列type=index)