# 示例

TIP

d2.pub 部署在腾讯云 访问稳定 速度一般

cdn.d2.pub 七牛云镜像 访问快但是有缓存

github.io 部署在 github pages 国内访问较慢

# 基础功能

示例 d2.pub cdn.d2.pub github.io
基础表格 Link (opens new window) Link (opens new window) Link (opens new window)
加载状态 Link (opens new window) Link (opens new window) Link (opens new window)
自定义加载状态 Link (opens new window) Link (opens new window) Link (opens new window)
带斑马纹表格 Link (opens new window) Link (opens new window) Link (opens new window)
带边框表格 Link (opens new window) Link (opens new window) Link (opens new window)
带状态表格 Link (opens new window) Link (opens new window) Link (opens new window)
固定表头 Link (opens new window) Link (opens new window) Link (opens new window)
固定列 Link (opens new window) Link (opens new window) Link (opens new window)
流体高度 Link (opens new window) Link (opens new window) Link (opens new window)
多级表头 Link (opens new window) Link (opens new window) Link (opens new window)
单选 Link (opens new window) Link (opens new window) Link (opens new window)
多选 Link (opens new window) Link (opens new window) Link (opens new window)
排序 Link (opens new window) Link (opens new window) Link (opens new window)
筛选 Link (opens new window) Link (opens new window) Link (opens new window)
表尾合计行 Link (opens new window) Link (opens new window) Link (opens new window)
合并行 Link (opens new window) Link (opens new window) Link (opens new window)
合并列 Link (opens new window) Link (opens new window) Link (opens new window)
表格slot Link (opens new window) Link (opens new window) Link (opens new window)

# 数据操作

示例 d2.pub cdn.d2.pub github.io
分页 Link (opens new window) Link (opens new window) Link (opens new window)
新增数据 Link (opens new window) Link (opens new window) Link (opens new window)
修改数据 Link (opens new window) Link (opens new window) Link (opens new window)
删除数据 Link (opens new window) Link (opens new window) Link (opens new window)
自定义操作列 Link (opens new window) Link (opens new window) Link (opens new window)
表单组件渲染 Link (opens new window) Link (opens new window) Link (opens new window)
表单布局 Link (opens new window) Link (opens new window) Link (opens new window)
表单校验 Link (opens new window) Link (opens new window) Link (opens new window)
表格内编辑 Link (opens new window) Link (opens new window) Link (opens new window)
表格自定义组件 Link (opens new window) Link (opens new window) Link (opens new window)
表单事件监听 Link (opens new window) Link (opens new window) Link (opens new window)
表单自定义组件 Link (opens new window) Link (opens new window) Link (opens new window)
CRUD事件 Link (opens new window) Link (opens new window) Link (opens new window)