当前位置:网站首页>Add a custom button to jvxetable
Add a custom button to jvxetable
2022-06-30 02:54:00 【OK_ boom】
The previous article talked about how to dynamically make some default buttons disappear , This article talks about how to add custom buttons to the toolbar
Check the code and find jvxetoolbar Provide two slots , One is prefix, One is suffix, So you can add your own custom buttons before or after the default buttons .
and prefix The slot name of is toolbarPrefix,suffix The slot name of is toolbarSuffix.
Here's an example :
<j-vxe-table
keep-source
:ref="refKeys[1]"
:loading="smpOrderMtMainTable.loading"
:columns="smpOrderMtMainTable.columns"
:dataSource="smpOrderMtMainTable.dataSource"
:maxHeight="300"
:disabled="formDisabled"
:rowNumber="true"
:rowSelection="true"
:toolbar="true">
<a-popconfirm slot='toolbarSuffix' title=" Are you sure to place an order ?" @confirm="()=>purchaseAssigned()">
<a-button> The order has been placed and will be returned </a-button>
</a-popconfirm>
</j-vxe-table>
边栏推荐
- [oiclass] chess piece
- What is the concept of string in PHP
- Wechat applet page Jump and parameter transfer
- Multi card server usage
- How to modify and add fields when MySQL table data is large
- Template parameter package and function parameter package
- threejs 镜子案例Reflector 创建镜子+房子搭建+小球移动
- Shenzhen CPDA Data Analyst Certification in July 2022
- High paid programmers & interview questions series 63: talk about the differences between sleep (), yield (), join (), and wait ()
- Pytoch learning (II)
猜你喜欢

Some configuration details about servlet initial development

Unity timeline data binding

福利抽奖 | 开源企业级监控Zabbix6.0都有哪些亮点

Playful palette: an interactive parametric color mixer for artists

自定义JvxeTable的按钮及备注下$set的用法

Distributed file system fastdfs

Creating exquisite skills in maker Education

FDA ESG regulation: digital certificate must be used to ensure communication security

打造創客教育中精湛技藝

What is certificate transparency CT? How to query CT logs certificate logs?
随机推荐
Which is a good foreign exchange trading platform? Is it safe to have regulated funds?
多卡服务器使用
threejs 镜子案例Reflector 创建镜子+房子搭建+小球移动
The Oracle main program is deleted, but the data is on another hard disk. Can I import the data again?
Study diary: February 15, 2022
C console format code
Entering Jiangsu writers and poets carmine Jasmine World Book Day
Cmake tutorial series -04- compiling related functions
How to prevent phishing emails? S/mime mail certificate
Jupyter notebook displays a collection of K-line graphs
How to prevent duplicate submission under concurrent requests
Wechat applet page Jump and parameter transfer
Idea remote debugging remote JVM debug
2. successfully solved bug:exception when publishing [Failed to connect and initialize SSH connection...
重磅来袭--UE5的开源数字孪生解决方案
What about punctuation in the first column of unity text
What files does a CA digital certificate contain? How to view SSL certificate information?
[oiclass] chess piece
[NPM] solve the problem of error reporting when installing typeorm with NPM
Raki's notes on reading paper: neighborhood matching network for entity alignment