Element table how to remove all selected checkbox boxes and replace them with Chinese characters

how to change the table multiple selection of element-ui into Chinese characters
as it is now

clipboard.png

clipboard.png

Mar.11,2021

my solution is the same as the answer upstairs, hiding the checkbox box and then positioning the text on it.

< hr >
1. use header-cell-class-name to set a className to the header cell to modify the style:

clipboard.png


clipboard.png


2.

clipboard.png


:

clipboard.png

Vue.js

type="selection"checkbox
element ui




querySelector,
document.querySelector('.el-checkbox').innerHTML = ''
,,
document.querySelector('.el-table-column--selection .cell').style.padding = '0',
,


(:)
image.png

:1checkbox 2content:after
image.png

Custom full selection effect:
< el-table ref= "multipleTable": data= "tableData" tooltip-effect= "dark" style= "width:" @ selection-change= "handleSelectionChange" >
< el-table-column type= "selection" width= "40" align= "left" > < / el-table-column >
< el-table-column type= "index" label= serial number "align=" center "width=" 45 "> < / el-table-column >
< el-table-column prop=" name "label=" name "align= center" "> < / el-table-column >
< el-table-column prop=" age "label=" align= "center" > < / el-table-column >
< / el-table >

< el-checkbox v checkAllFun model = "bulksubsidyChecked" @ change= "checkAllFun" > Select all < / el-checkbox >

contents under data:

tableData: [{name:  '',age:  '23'},
  {name:  '',age:  '23'}],
  
multipleSelection: [],
bulksubsidyChecked:  false,

content under methods:

handleSelectionChange(val) {
    this.multipleSelection  =  val;
},
checkAllFun:  function() {
    if (this.bulksubsidyChecked) {
        this.toggleSelection(this.tableData);
    } else {
        this.toggleSelection();}},
toggleSelection(rows) {
    this.multipleSelection = [];
    if (rows) {
        rows.forEach(row  => {
           this.$refs.multipleTable.toggleRowSelection(row, true);});
    } else {
         this.$refs.multipleTable.clearSelection();}},

hide that box and put it on with locator

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8babb-1074.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8babb-1074.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?