waningflow / vue-virtual-table

vue table component of vue2
https://npmjs.com/vue-virtual-table
MIT License
105 stars 45 forks source link

Miltiple _actions prop eClass not working #21

Open harshadsatra opened 3 years ago

harshadsatra commented 3 years ago

When appliying eClass to multiple _action slot components takes the class name of the last _action prop

tableConfig: [ { prop: "_action", name: ".", actionName: "checkbox", width: 30, eClass: { checkbox: 'true' }}, { prop: "_action", name: "Name", actionName: "userBlock", width: 180}, { prop: "emailAddress", name: "Email Address", width: 180 , alignItems: "left"}, { prop: "phoneNumber", name: "Phone Number" }, { prop: "company", name: "Company" }, { prop: "address", name: "Address" }, { prop: "_action", name: ".", width: 70, actionName: "actionCommon"}, ],

All the _action blocks takes the Class checkbox