We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.18.1
无
点击第一列头在click_cell时间中 调用updateColumns后,第一列的选中状态会消失
- OS: - Browser: - Framework:
const tableInstance = new VTable.ListTable(listTableRef.value, option); tableInstance.on("click_cell", (params) => { // console.log(params); if (params.row == 0) { for (let i = 0; i < columns.length; i++) { var col = tableInstance.columns[i]; if (params.field == col.field) { if (col.style == null) { col.style = { color: "#000" }; } else { col.style.color = "#000"; } } else { if (col.style == null) { col.style = { color: "#e4e4e4" }; } else { col.style.color = "#e4e4e4"; } } } // end for tableInstance.updateColumns(tableInstance.columns); } });
The text was updated successfully, but these errors were encountered:
收到 我们看下
Sorry, something went wrong.
fix: use updateColumns api click state not right #975
c94c441
fangsmile
Successfully merging a pull request may close this issue.
Version
0.18.1
Link to Minimal Reproduction
无
Steps to Reproduce
无
Current Behavior
点击第一列头在click_cell时间中 调用updateColumns后,第一列的选中状态会消失
Expected Behavior
点击第一列头在click_cell时间中 调用updateColumns后,第一列的选中状态会消失
Environment
Any additional comments?
The text was updated successfully, but these errors were encountered: