I've a simple el-table with many columns (ten exactly).
So, some column is too narrow for its content. I'd like to split each row in two rows, is it possible?
Something like:
| COL1 | COL2 | COL3 |
| ROW1 | ROW1 | ROW1 |
| | ROW1 | ROW1 |
| ROW2 | ROW2 | ROW2 |
| | ROW2 | ROW2 |
| ROW3 | ROW3 | ROW3 |
| | ROW3 | ROW3 |
I tried with something like the following with no success:
<el-table :data="myData" stripe="stripe">
<el-row>
<el-table-column prop="position" label="Col1">...</el-table-column>
<el-table-column prop="position" label="Col2">...</el-table-column>
<el-table-column prop="position" label="Col3">...</el-table-column>
</el-row>
<el-row>
<el-table-column prop="position" label="Col4">...</el-table-column>
<el-table-column prop="position" label="Col5">...</el-table-column>
<el-table-column prop="position" label="Col6">...</el-table-column>
</el-row>
Any ideas? Thanks.