Table: update an example (#520)

pull/521/head
杨奕 2016-10-19 21:57:12 +08:00 committed by FuryBean
parent b453ce1167
commit e396db7c91
1 changed files with 8 additions and 1 deletions

View File

@ -469,7 +469,7 @@
### 固定列 ### 固定列
横向内容过多时,可选择固定列。 横向内容过多时,可选择固定列。
:::demo 固定列需要使用`fixed`属性,它接受 Boolean 值或者`left` `right`,表示左边固定还是右边固定。 :::demo 固定列需要使用`fixed`属性,它接受 Boolean 值或者`left` `right`,表示左边固定还是右边固定。
```html ```html
@ -509,6 +509,13 @@
label="邮编" label="邮编"
width="120"> width="120">
</el-table-column> </el-table-column>
<el-table-column
inline-template
fixed="right"
label="操作"
width="80">
<el-button type="primary" size="small">编辑</el-button>
</el-table-column>
</el-table> </el-table>
</template> </template>