vxe-table 实现展开行的用法
使用 vxe-table 实现展开行的,通过设置 type=expand,给列加上 content 插槽,就可以开启展开行了官网:https://vxetable.cn/
<template>
<vxe-grid v-bind="gridOptions">
<template #expand_content="{ row }">
Name:{{ row.name }}
Role:{{ row.role }}
Age:{{ row.age }}
Sex:{{ row.sex }}
Address:{{ row.address }}
</template>
</vxe-grid>
</template>https://gitee.com/x-extends/vxe-table
来源:程序园用户自行投稿发布,如果侵权,请联系站长删除
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
页:
[1]