mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 11:17:38 +08:00
Update table.md
Fixes typo
This commit is contained in:
parent
6ced3a654a
commit
d19f555208
@ -1714,7 +1714,7 @@ For table of numbers, you can add an extra row at the table footer displaying ea
|
||||
### Rowspan and colspan
|
||||
|
||||
Configuring rowspan and colspan allows you to merge cells
|
||||
:::demo Use the `span-method` attribute to configure rowspan and colspan. It accepts a method, and passes an object to that method including current row `row`, current column `column`, current row index `rowIndex` and current column index `columnIndex`. The method should return an array of two numbers, the first number being `rowspan` and second `colspan`. It can also return an object with `rowsapn` and `colspan` props.
|
||||
:::demo Use the `span-method` attribute to configure rowspan and colspan. It accepts a method, and passes an object to that method including current row `row`, current column `column`, current row index `rowIndex` and current column index `columnIndex`. The method should return an array of two numbers, the first number being `rowspan` and second `colspan`. It can also return an object with `rowspan` and `colspan` props.
|
||||
|
||||
```html
|
||||
<template>
|
||||
|
Loading…
Reference in New Issue
Block a user