Update doc

pull/2045/head
qingwei.li 2016-12-28 18:33:26 +08:00
parent 4817e116e5
commit 33e0f0be48
2 changed files with 2 additions and 2 deletions

View File

@ -1349,7 +1349,7 @@ Customize table column so it can be integrated with other components.
### Expandable row
When the row content is too long and you do not want to display the horizontal scroll bar, you can use the expandable row feature.
:::demo Activate expandable row by adding type="expand" and `Scoped slot`, The template for `el-table-column` will be rendered as the contents of the expanded row, you can access the same attributes as the` Scoped slot`.
:::demo Activate expandable row by adding type="expand" and scoped slot. The template for el-table-column will be rendered as the contents of the expanded row, and you can access the same attributes as when you are usingscoped slot in custom column templates.
```html
<template>
<el-table

View File

@ -1363,7 +1363,7 @@
### 展开行
当行内容过多并且不想显示横向滚动条时,可以使用 Table 展开行功能。
:::demo 通过设置 type="expand" 和 `Scoped slot` 可以开启展开行功能,`el-table-column` 的模板会被渲染成为展开行的内容,展开行可访问的属性与使用 `Scoped slot` 的时候相同。
:::demo 通过设置 type="expand" 和 `Scoped slot` 可以开启展开行功能,`el-table-column` 的模板会被渲染成为展开行的内容,展开行可访问的属性与使用自定义列模板时的 `Scoped slot` 相同。
```html
<template>
<el-table