ux-platform-ocean-table-mobile

| 属性 | 描述 | 类型 | 默认值 | | :------------ |:---------------| :-----| :-----| | headData | 表格头部数据(支持任意深度的表头) | array | / | | bodyData | 表体数据 | array | / | | fixHeadLeft(可选) | 是否固定表头到左边 | boolean | false | | isComplex | 是否复合表头

Usage no npm install needed!

<script type="module">
  import uxPlatformOceanTableMobile from 'https://cdn.skypack.dev/ux-platform-ocean-table-mobile';
</script>

README

表格组件移动端(react)

API

属性 描述 类型 默认值
headData 表格头部数据(支持任意深度的表头) array /
bodyData 表体数据 array /
fixHeadLeft(可选) 是否固定表头到左边 boolean false
isComplex 是否复合表头 boolean /

示范例子

<TableForMobile
 headData = [...]
 bodyData = [...]
 isComplex = {false}
>   

注意

headData 为array,数据格式demo:

 [{p1:xxx,p2:xxx, subColumns: [...]}]

TO DO

  • 数据钻取
  • 数据懒加载