1
0
mirror of synced 2025-12-08 14:54:44 +08:00
This commit is contained in:
xuliangzhan
2019-04-25 00:01:13 +08:00
parent 206e5790f1
commit eabf3d083d

View File

@@ -24,6 +24,15 @@ A powerful table component.
## Table 表格
```html
<xe-table
:data.sync="tableData">
<xe-column-checkbox prop="checked" width="60"></xe-column-checkbox>
<xe-column-cell prop="name" label="Name"></xe-column-cell>
<xe-column-cell prop="address" label="Address"></xe-column-cell>
</xe-table>
```
### Table Attributes 参数
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
@@ -58,6 +67,10 @@ A powerful table component.
## Cell 基本列
```html
<xe-column-cell prop="name" label="Name"></xe-column-cell>
```
### Cell Attributes 参数
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
@@ -77,6 +90,13 @@ A powerful table component.
## Group 分组列
```html
<xe-column-group label="Group name">
<xe-column-cell prop="name" label="Name"></xe-column-cell>
<xe-column-cell prop="address" label="Address"></xe-column-cell>
</xe-column-group>
```
### Group Attributes 参数
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
@@ -85,6 +105,10 @@ A powerful table component.
## Index 索引列
```html
<xe-column-index width="60"></xe-column-index>
```
### Index Attributes 参数
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
@@ -99,6 +123,10 @@ A powerful table component.
## Radio 单选列
```html
<xe-column-radio width="60"></xe-column-radio>
```
### Radio Attributes 参数
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
@@ -118,6 +146,10 @@ A powerful table component.
## Checkbox 多选列
```html
<xe-column-checkbox width="60"></xe-column-checkbox>
```
## Checkbox Attributes 参数
| 参数 | 说明 | 类型 | 可选值 | 默认值 |