vxe-table 实现查找与替换功能
官网: https://vxetable.cn查找与替换,通过 keyboard-config.isFNR 启用,支持快捷键
Ctrl + F 查找数据,全表或指定区域查找数据 ;
Ctrl + H 替换数据,全表或指定区域替换数据 ;
<template>
<vxe-table
border
show-overflow
height="500"
:column-config="{resizable: true}"
:mouse-config="{area: true}"
:keyboard-config="{isFNR: true}"
:data="tableData">
<vxe-column type="seq" width="60"></vxe-column>
<vxe-column field="name" title="Name"></vxe-column>
<vxe-column field="role" title="Role"></vxe-column>
<vxe-column field="sex" title="Sex"></vxe-column>
<vxe-column field="num" title="Num"></vxe-column>
<vxe-column field="age" title="Age"></vxe-column>
<vxe-column field="address" title="Address" width="300"></vxe-column>
</vxe-table>
</template>https://github.com/x-extends/vxe-table
来源:程序园用户自行投稿发布,如果侵权,请联系站长删除
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
页:
[1]