We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question (问题描述) 我想知道在使用表格嵌套时,如何让子表格得到父表格的record或者index?
Describe the solution you'd like (你期待的是什么?) 我想要让子表格展示出父表格每一行对应的详细信息,但不想使用异步获取数据的方式。
Additional context(附加信息) <a-table :columns="columns":data-source="dataList" class="mainTable" expandIconColumnIndex=3 <template #expandedRowRender> <a-table :columns="innerColumns":data-source="dataList[0].innerDatas":pagination="false" 如上代码,我想在子表格里展示出dataList.innerDatas,但我现在只能使每一个子表都展示dataList[0]位置的innerDatas。 求指教。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Question (问题描述)
我想知道在使用表格嵌套时,如何让子表格得到父表格的record或者index?
Describe the solution you'd like (你期待的是什么?)
我想要让子表格展示出父表格每一行对应的详细信息,但不想使用异步获取数据的方式。
Additional context(附加信息)
<a-table :columns="columns":data-source="dataList" class="mainTable" expandIconColumnIndex=3
<template #expandedRowRender>
<a-table :columns="innerColumns":data-source="dataList[0].innerDatas":pagination="false"
如上代码,我想在子表格里展示出dataList.innerDatas,但我现在只能使每一个子表都展示dataList[0]位置的innerDatas。
求指教。
The text was updated successfully, but these errors were encountered: