I'm writing an asp.net application and want to pass data to subtable in row expand.
(我正在编写一个asp.net应用程序,并希望将数据传递给行扩展中的子表。)
For UI I am using element UI library, here is some code:(对于UI,我正在使用元素UI库,这是一些代码:)
<el-table ref="table" v-bind:data="data">
<el-table-column type="expand">
<template slot-scope="props">
<el-table v-bind:data="data.Calculations"> border <!-- here is an problem -->
<el-table-column>
{{props.row.CalcId}}
</el-table-column>
</el-table>
</el-table-column>
<el-table-column>
{{props.row.DataId}}
</el-table-column>
...
...
</el-table>
What I've tried is to use in v-bind:data
- props.row.Calculations
but I doesn't seems work.
(我试过的是在v-bind:data
- props.row.Calculations
但是我似乎没有用。)
Could you advice me how to resolve this problem?
(您能建议我如何解决此问题吗?)
ask by Grzegorz G. translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…