mirror of https://github.com/ElemeFE/element
Update doc
parent
4817e116e5
commit
33e0f0be48
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue