Observe the number of creates/updates/etc for VeTableBodyTd
Repeat steps 4 through 7.
Observe that the number of creates/updates/etc are the same as last time.
Start recording performance.
Click the button "Toggle Fixed Column".
Stop recording performance.
Observe the number of creates/updates/etc for VeTableBodyTd
Repeat steps 10 through 13.
Observe the number of updates is significantly higher than the first time (roughly [num cells] x [num columns])
What is expected?
Toggling <ve-table> with v-if should behave the same with fixed columns or without fixed colums
What is actually happening?
Toggling <ve-table> with v-if when fixed columns are present renders too many times leading to bad performance
Any additional comments? (optional)
I did not use code sandbox because it was extremely slow to the point of being unusable. stackblitz should suffice. Requiring users to use this form means they can't easily upload images and other features of the github issue creator.
I am opening an issue for
vue-easytable
Issue Type
Bug
Issue Title
Performance issue with fixed columns
library Version
2.9.0
Vue Type
2.6.14
Browser Type
Chrome Version 95.0.4638.54 (Official Build) (x86_64)
System version
MacOS 11.4
Reproduction url
https://stackblitz.com/edit/vuejs-starter-q8uzw6?file=table.js
Step to reproduce
VeTableBodyTd
VeTableBodyTd
[num cells] x [num columns]
)What is expected?
Toggling
<ve-table>
withv-if
should behave the same with fixed columns or without fixed columsWhat is actually happening?
Toggling
<ve-table>
withv-if
when fixed columns are present renders too many times leading to bad performanceAny additional comments? (optional)
I did not use code sandbox because it was extremely slow to the point of being unusable. stackblitz should suffice. Requiring users to use this form means they can't easily upload images and other features of the github issue creator.